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
F171548771: D28810.id.diff
Fri, Sep 11, 5:09 PM
Unknown Object (File)
Fri, Sep 11, 2:02 AM
Unknown Object (File)
Thu, Sep 10, 12:52 AM
Unknown Object (File)
Tue, Sep 8, 11:08 PM
Unknown Object (File)
Mon, Sep 7, 3:45 PM
Unknown Object (File)
Fri, Sep 4, 7:35 PM
Unknown Object (File)
Fri, Sep 4, 4:51 PM
Unknown Object (File)
Fri, Sep 4, 12:15 PM

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).