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
F162972309: D50112.id154676.diff
Sat, Jul 18, 8:01 PM
F162904748: D50112.id154676.diff
Sat, Jul 18, 4:18 AM
Unknown Object (File)
Fri, Jul 17, 9:59 AM
Unknown Object (File)
Fri, Jul 17, 7:11 AM
Unknown Object (File)
Tue, Jun 30, 8:45 PM
Unknown Object (File)
Mon, Jun 29, 8:02 PM
Unknown Object (File)
Sun, Jun 28, 3:01 AM
Unknown Object (File)
Fri, Jun 19, 3:18 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.