Page MenuHomeFreeBSD

vm_page: use ref_count for NOFREE counter
ClosedPublic

Authored by dougm on May 2 2025, 1:42 AM.
Tags
None
Referenced Files
F131859813: D50112.id154676.diff
Sat, Oct 11, 6:36 PM
Unknown Object (File)
Wed, Sep 17, 5:00 AM
Unknown Object (File)
Tue, Sep 16, 7:20 AM
Unknown Object (File)
Sat, Sep 13, 11:02 PM
Unknown Object (File)
Fri, Sep 12, 7:43 AM
Unknown Object (File)
Sep 11 2025, 8:29 AM
Unknown Object (File)
Sep 7 2025, 11:27 PM
Unknown Object (File)
Aug 19 2025, 9:01 PM
Subscribers

Details

Summary

In managing freed PG_NOFREE pages, use ref_count instead of pindex for counting pages in freed PG_NOFREE blocks. No change in behavior is expected. This restores the (useful) property that the pindex field is of interest only for pages that are mapped to objects.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dougm requested review of this revision.May 2 2025, 1:42 AM
dougm created this revision.
dougm added reviewers: alc, kib, bnovkov.
This revision is now accepted and ready to land.May 2 2025, 1:48 AM
This revision was automatically updated to reflect the committed changes.