Page MenuHomeFreeBSD

swap_pager: iter in haspage, lookup, getpages
ClosedPublic

Authored by dougm on Oct 22 2024, 8:01 AM.
Tags
None
Referenced Files
F131769315: D47232.id145485.diff
Sat, Oct 11, 12:42 AM
F131734153: D47232.diff
Fri, Oct 10, 6:07 PM
Unknown Object (File)
Wed, Oct 8, 9:50 PM
Unknown Object (File)
Fri, Sep 26, 8:35 PM
Unknown Object (File)
Wed, Sep 17, 6:39 AM
Unknown Object (File)
Fri, Sep 12, 9:40 PM
Unknown Object (File)
Fri, Sep 12, 12:20 PM
Unknown Object (File)
Thu, Sep 11, 6:22 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.