All callers, when swp_pager_meta_build returns a swapblk other than
SWAPBLK_NONE, either fail a KASSERT or add it to their freerange. By
passing an optional freerange to swp_pager_meta_build we can instead
deduplicate this and have swp_pager_meta_build perform the assertion or
add it to the freerange as appropriate.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 47831 Build 44718: arc lint + arc unit
Event Timeline
sys/vm/swap_pager.c | ||
---|---|---|
2092 | Not returning anything. So, do you need prev_swapblk? Just KASSERT/update here? |