Page MenuHomeFreeBSD

Simplify some grab VM_ALLOC_ZERO callers now that grab will set the pagesvalid.
Needs ReviewPublic

Authored by jeff on Mar 11 2020, 8:26 PM.
Tags
None
Referenced Files
F82159341: D24029.diff
Fri, Apr 26, 1:27 AM
Unknown Object (File)
Wed, Apr 24, 8:39 AM
Unknown Object (File)
Dec 20 2023, 2:09 AM
Unknown Object (File)
Sep 1 2023, 4:13 PM
Unknown Object (File)
Jul 11 2023, 9:59 PM
Unknown Object (File)
Jun 19 2023, 8:02 PM
Unknown Object (File)
May 18 2023, 3:45 AM
Unknown Object (File)
Mar 4 2023, 10:56 AM
Subscribers

Details

Reviewers
alc
kib
dougm
markj
Summary

There are a couple of cases where we want wiring like semantics for the page but it is simply never added to the page queue that I marked with XXX. These callers don't require the xbusy except to satisfy an assert.

The other cases only need the xbusy internally until valid is set. This gives us fewer places touching the page valid bits and more options for changing the requirements to modify them later while not affecting consumers further.

Test Plan

stress2

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 29883
Build 27703: arc lint + arc unit

Event Timeline

jeff retitled this revision from Simplify some grab VM_ALLOC_ZERO callers now that grab will set the pages valid. to Simplify some grab VM_ALLOC_ZERO callers now that grab will set the pagesvalid..Mar 11 2020, 8:33 PM
jeff edited the summary of this revision. (Show Details)
jeff edited the test plan for this revision. (Show Details)
jeff added reviewers: alc, kib, dougm, markj.
jeff set the repository for this revision to rS FreeBSD src repository - subversion.
sys/compat/cloudabi/cloudabi_vdso.c
66

There is no point to even comment about wiring there. Pages are from the phys object, they are unmanaged. So might be it would be better to change asserts and allow return of non-busy non-wired pages for OBJ_UNMANAGED objects.

sys/compat/linux/linux_vdso.c
88

There too.