Page MenuHomeFreeBSD

Let the VM page allocator handle page zeroing
AbandonedPublic

Authored by markj on Feb 19 2021, 8:23 PM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 7 2025, 7:24 AM
Unknown Object (File)
Nov 6 2025, 9:11 AM
Unknown Object (File)
Nov 2 2025, 11:31 AM
Unknown Object (File)
Oct 30 2025, 8:12 PM
Unknown Object (File)
Oct 29 2025, 7:21 AM
Unknown Object (File)
Oct 29 2025, 7:17 AM
Unknown Object (File)
Oct 29 2025, 7:07 AM
Unknown Object (File)
Oct 26 2025, 8:38 AM

Details

Reviewers
manu
kib
alc
jeff
Summary

An earlier diff modified vm_page_alloc() and friends to zero the page if
VM_ALLOC_ZERO is specified, rather than treating VM_ALLOC_ZERO as
advisory. This diff patches up most consumers to reflect that change.
A few consumers require a bit more care and are handled in separate
diffs.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 37207
Build 34096: arc lint + arc unit

Event Timeline

markj requested review of this revision.Feb 19 2021, 8:23 PM
This revision is now accepted and ready to land.Feb 19 2021, 9:31 PM
sys/dev/xen/balloon/balloon.c
240–246

I would not delete this comment. Instead, move it up before the allocation.

Superseded by D31986.

sys/dev/xen/balloon/balloon.c
240–246

I handled this comment in the new patch series (where I again had deleted the comment).