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)
Fri, Jul 24, 5:52 PM
Unknown Object (File)
Wed, Jul 22, 3:00 PM
Unknown Object (File)
Sun, Jul 19, 7:57 AM
Unknown Object (File)
Sat, Jul 18, 8:12 AM
Unknown Object (File)
Sat, Jul 18, 5:37 AM
Unknown Object (File)
Jun 29 2026, 10:50 PM
Unknown Object (File)
Jun 24 2026, 7:40 PM
Unknown Object (File)
Jun 18 2026, 8:04 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).