summaryrefslogtreecommitdiffstats
path: root/sys/modules/netgraph
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2004-10-24 06:15:36 +0000
committeralc <alc@FreeBSD.org>2004-10-24 06:15:36 +0000
commitfaeb94902118c8cefd8ef3dd9d807bdd25bb6817 (patch)
tree31a4847e67efbb9233971e7fc716768fc31d4793 /sys/modules/netgraph
parent7a9167aadd43576d03ace6553b26d037722487a8 (diff)
downloadFreeBSD-src-faeb94902118c8cefd8ef3dd9d807bdd25bb6817.zip
FreeBSD-src-faeb94902118c8cefd8ef3dd9d807bdd25bb6817.tar.gz
Introduce VM_ALLOC_NOBUSY, an option to vm_page_alloc() and vm_page_grab()
that indicates that the caller does not want a page with its busy flag set. In many places, the global page queues lock is acquired and released just to clear the busy flag on a just allocated page. Both the allocation of the page and the clearing of the busy flag occur while the containing vm object is locked. So, the busy flag might as well never be set.
Diffstat (limited to 'sys/modules/netgraph')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud