Page MenuHomeFreeBSD

Call swap_pager_freespace() from vm_object_page_remove().
AbandonedPublic

Authored by markj on Jun 17 2020, 6:30 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sep 28 2023, 9:46 PM
Unknown Object (File)
Aug 27 2023, 8:00 AM
Unknown Object (File)
Jul 6 2023, 4:47 PM
Subscribers
None

Details

Reviewers
None
Summary

All vm_object_page_remove() callers, except the LinuxKPI, free swap
space when removing a range of pages from an object. I believe the
omission in the LinuxKPI is a bug: looking at the Linux implementation,
pages in the range are purged from the swap cache.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 31778
Build 29340: arc lint + arc unit

Event Timeline

markj requested review of this revision.Jun 17 2020, 6:30 PM
markj created this revision.