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)
Tue, Aug 19, 9:01 PM
Unknown Object (File)
Sun, Jul 27, 3:32 PM
Unknown Object (File)
Jul 21 2025, 12:07 PM
Unknown Object (File)
Jul 20 2025, 4:57 PM
Unknown Object (File)
Jul 19 2025, 6:16 AM
Unknown Object (File)
Jul 15 2025, 7:33 AM
Unknown Object (File)
Jun 21 2025, 12:05 AM
Unknown Object (File)
Jun 15 2025, 12:04 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.