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
Unknown Object (File)
Sep 12 2024, 6:02 PM
Unknown Object (File)
Sep 8 2024, 2:28 AM
Unknown Object (File)
Sep 5 2024, 5:23 PM
Unknown Object (File)
Sep 3 2024, 6:25 PM
Unknown Object (File)
Sep 1 2024, 1:27 AM
Unknown Object (File)
Jul 20 2024, 6:53 PM
Unknown Object (File)
Jul 19 2024, 2:55 AM
Unknown Object (File)
Jul 18 2024, 7:58 PM
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.