Page MenuHomeFreeBSD

swap_pager: iter in haspage, lookup, getpages
ClosedPublic

Authored by dougm on Tue, Oct 22, 8:01 AM.
Tags
None
Referenced Files
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
Unknown Object (File)
Sun, Oct 27, 5:27 AM
Unknown Object (File)
Sat, Oct 26, 6:07 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.Tue, Oct 22, 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.Tue, Oct 22, 5:02 PM
This revision was automatically updated to reflect the committed changes.