Remove VM_FREELIST_ISADMA. It's not needed on these architectures.

Differential Review: https://reviews.freebsd.org/D16290
This commit is contained in:
imp 2018-07-17 21:07:53 +00:00
parent 754fc2f721
commit 68eda9fa0e
2 changed files with 8 additions and 20 deletions

View File

@ -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

View File

@ -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