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, Nov 23, 1:24 AM
Unknown Object (File)
Sun, Nov 10, 8:50 PM
Unknown Object (File)
Wed, Nov 6, 11:40 PM
Unknown Object (File)
Wed, Nov 6, 2:28 PM
Unknown Object (File)
Wed, Nov 6, 12:30 PM
Unknown Object (File)
Mon, Nov 4, 10:59 AM
Unknown Object (File)
Sun, Oct 27, 7:18 AM
Unknown Object (File)
Sun, Oct 27, 7:17 AM
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.