Page MenuHomeFreeBSD

swap_pager: iter in haspage, lookup, getpages
ClosedPublic

Authored by dougm on Oct 22 2024, 8:01 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 5, 8:24 PM
Unknown Object (File)
Thu, Dec 5, 5:07 PM
Unknown Object (File)
Mon, Nov 25, 6:29 PM
Unknown Object (File)
Sat, Nov 23, 1:24 AM
Unknown Object (File)
Sun, Nov 10, 8:50 PM
Unknown Object (File)
Nov 6 2024, 11:40 PM
Unknown Object (File)
Nov 6 2024, 2:28 PM
Unknown Object (File)
Nov 6 2024, 12:30 PM
Subscribers

Details

Summary

User pctrie iterators for swblk traversal in more swap_pager functions.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dougm requested review of this revision.Oct 22 2024, 8:01 AM
dougm created this revision.
kib added inline comments.
sys/vm/swap_pager.c
1205–1206

There was (is) a weird naming scheme by Matt Dillon, mentioned in then following comment from swap_pager.c:

/*
 * swap_*() routines are externally accessible.  swp_*() routines are
 * internal.
 */

Might be we should do the pass restoring the consistency.

This revision is now accepted and ready to land.Oct 22 2024, 5:02 PM
This revision was automatically updated to reflect the committed changes.