diff options
author | alc <alc@FreeBSD.org> | 2008-07-07 17:25:09 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2008-07-07 17:25:09 +0000 |
commit | 64ef3ee8e527af1694fe820abd5d20661c4e692c (patch) | |
tree | 89e2d94d3d0c486449c7a6d75ae6719b9b2efefe /sys/netgraph/ng_one2many.h | |
parent | 53c174be32f610febfcf300b4ff12e340fc5dc6a (diff) | |
download | FreeBSD-src-64ef3ee8e527af1694fe820abd5d20661c4e692c.zip FreeBSD-src-64ef3ee8e527af1694fe820abd5d20661c4e692c.tar.gz |
In FreeBSD 7.0 and beyond, pmap_growkernel() should pass VM_ALLOC_INTERRUPT
to vm_page_alloc() instead of VM_ALLOC_SYSTEM. VM_ALLOC_SYSTEM was the
logical choice before FreeBSD 7.0 because VM_ALLOC_INTERRUPT could not
reclaim a cached page. Simply put, there was no ordering between
VM_ALLOC_INTERRUPT and VM_ALLOC_SYSTEM as to which "dug deeper" into the
cache and free queues. Now, there is; VM_ALLOC_INTERRUPT dominates
VM_ALLOC_SYSTEM.
While I'm here, teach pmap_growkernel() to request a prezeroed page.
MFC after: 1 week
Diffstat (limited to 'sys/netgraph/ng_one2many.h')
0 files changed, 0 insertions, 0 deletions