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)
Sat, Jul 4, 11:32 PM
Unknown Object (File)
Mon, Jun 29, 8:35 AM
Unknown Object (File)
Fri, Jun 26, 6:46 PM
Unknown Object (File)
Wed, Jun 24, 12:48 AM
Unknown Object (File)
May 16 2026, 10:53 PM
Unknown Object (File)
May 16 2026, 10:52 PM
Unknown Object (File)
May 16 2026, 10:48 PM
Unknown Object (File)
May 4 2026, 4:21 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.