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
Unknown Object (File)
Sun, Nov 23, 8:51 PM
Unknown Object (File)
Sun, Nov 23, 6:58 PM
Unknown Object (File)
Sun, Nov 23, 6:09 AM
Unknown Object (File)
Sat, Nov 22, 9:13 AM
Unknown Object (File)
Thu, Nov 20, 2:09 AM
Unknown Object (File)
Wed, Nov 19, 11:43 PM
Unknown Object (File)
Sat, Nov 8, 10:11 PM
Unknown Object (File)
Thu, Nov 6, 1:36 AM
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.