Page MenuHomeFreeBSD

swap_pager: iter in haspage, lookup, getpages
ClosedPublic

Authored by dougm on Tue, Oct 22, 8:01 AM.

Details

Summary

User pctrie iterators for swblk traversal in more swap_pager functions.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

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
1204

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.