Author: imp Date: Tue Jul 17 21:07:53 2018 New Revision: 336427 URL: https://svnweb.freebsd.org/changeset/base/336427
Log: Remove VM_FREELIST_ISADMA. It's not needed on these architectures. Differential Review: https://reviews.freebsd.org/D16290 Modified: head/sys/arm64/include/vmparam.h head/sys/riscv/include/vmparam.h Modified: head/sys/arm64/include/vmparam.h ============================================================================== --- head/sys/arm64/include/vmparam.h Tue Jul 17 21:05:08 2018 (r336426) +++ head/sys/arm64/include/vmparam.h Tue Jul 17 21:07:53 2018 (r336427) @@ -67,10 +67,7 @@ #define VM_PHYSSEG_SPARSE /* - * The number of PHYSSEG entries must be one greater than the number - * of phys_avail entries because the phys_avail entry that spans the - * largest physical address that is accessible by ISA DMA is split - * into two PHYSSEG entries. + * The number of PHYSSEG entries. */ #define VM_PHYSSEG_MAX 64 @@ -85,14 +82,11 @@ #define VM_FREEPOOL_DIRECT 1 /* - * Create two free page lists: VM_FREELIST_DEFAULT is for physical - * pages that are above the largest physical address that is - * accessible by ISA DMA and VM_FREELIST_ISADMA is for physical pages - * that are below that address. + * Create one free page lists: VM_FREELIST_DEFAULT is for all physical + * pages. */ -#define VM_NFREELIST 2 +#define VM_NFREELIST 1 #define VM_FREELIST_DEFAULT 0 -#define VM_FREELIST_ISADMA 1 /* * An allocation size of 16MB is supported in order to optimize the Modified: head/sys/riscv/include/vmparam.h ============================================================================== --- head/sys/riscv/include/vmparam.h Tue Jul 17 21:05:08 2018 (r336426) +++ head/sys/riscv/include/vmparam.h Tue Jul 17 21:07:53 2018 (r336427) @@ -67,10 +67,7 @@ #define VM_PHYSSEG_SPARSE /* - * The number of PHYSSEG entries must be one greater than the number - * of phys_avail entries because the phys_avail entry that spans the - * largest physical address that is accessible by ISA DMA is split - * into two PHYSSEG entries. + * The number of PHYSSEG entries. */ #define VM_PHYSSEG_MAX 64 @@ -85,14 +82,11 @@ #define VM_FREEPOOL_DIRECT 1 /* - * Create two free page lists: VM_FREELIST_DEFAULT is for physical - * pages that are above the largest physical address that is - * accessible by ISA DMA and VM_FREELIST_ISADMA is for physical pages - * that are below that address. + * Create one free page list: VM_FREELIST_DEFAULT is for all physical + * pages. */ -#define VM_NFREELIST 2 +#define VM_NFREELIST 1 #define VM_FREELIST_DEFAULT 0 -#define VM_FREELIST_ISADMA 1 /* * An allocation size of 16MB is supported in order to optimize the _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"