mirror of
https://github.com/opnsense/src.git
synced 2026-03-25 12:13:09 -04:00
caller to vm_page_grab(). Although this gives VM_ALLOC_ZERO a different meaning for vm_page_grab() than for vm_page_alloc(), I feel such change is necessary to accomplish other goals. Specifically, I want to make the PG_ZERO flag immutable between the time it is allocated by vm_page_alloc() and freed by vm_page_free() or vm_page_free_zero() to avoid locking overheads. Once we gave up on the ability to automatically recognize a zeroed page upon entry to vm_page_free(), the ability to mutate the PG_ZERO flag became useless. Instead, I would like to say that "Once a page becomes valid, its PG_ZERO flag must be ignored." |
||
|---|---|---|
| .. | ||
| alpha | ||
| compile | ||
| conf | ||
| include | ||
| isa | ||
| linux | ||
| mcbus | ||
| osf1 | ||
| pci | ||
| tlsb | ||
| Makefile | ||