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)
Wed, May 6, 1:01 AM
Unknown Object (File)
Fri, May 1, 10:03 AM
Unknown Object (File)
Thu, Apr 30, 3:58 PM
Unknown Object (File)
Tue, Apr 28, 12:01 PM
Unknown Object (File)
Tue, Apr 28, 6:59 AM
Unknown Object (File)
Mon, Apr 27, 10:34 PM
Unknown Object (File)
Sat, Apr 25, 3:35 AM
Unknown Object (File)
Apr 21 2026, 5:07 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).