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)
Wed, May 21, 11:11 AM
Unknown Object (File)
Mon, May 19, 1:01 PM
Unknown Object (File)
Fri, May 16, 6:59 PM
Unknown Object (File)
Thu, May 15, 11:27 AM
Unknown Object (File)
Sun, May 11, 7:00 AM
Unknown Object (File)
May 5 2025, 12:32 PM
Unknown Object (File)
May 5 2025, 11:30 AM
Unknown Object (File)
May 5 2025, 8:43 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

Lint
Lint Skipped
Unit
Tests Skipped

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.