Date: Tue, 17 Jul 2018 21:07:54 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r336427 - in head/sys: arm64/include riscv/include Message-ID: <201807172107.w6HL7sDq084012@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807172107.w6HL7sDq084012>