RFC CART Implementation ver 2
Get series with b4
b4 am 20050829043132.908007000@twinsVersions newest first
- v1 RFC Latest6 patches 0 repliesNew
Changes from the cover letter
- Changed the hash algo. for the nonresident buckets It is worse now, so it has to change again :-(
- Made the nonresident code blank out a paged in cookie.
- Rewrote the cart code (yet again) to work on temp lists much like refill_inactive and co.
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | CART Implementation ver 2include/ init/ mm/ +1 more | +293 | 0 replies | |
| 2/6 | CART Implementation ver 2fs/ mm/ | +86 | 0 replies | |
| 3/6 | CART Implementation ver 2include/ include/ include/ +4 more | +541 | 0 replies | |
| 4/6 | CART Implementation ver 2fs/ mm/ | +101 | 0 replies | |
| 5/6 | CART Implementation ver 2mm/ mm/ mm/ +2 more | +8 | 0 replies | |
| 6/6 | CART Implementation ver 2fs/ include/ mm/ +3 more | +30 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC][patch 0/6] CART Implementation ver 2
Hi All,
Marcelo was ofcourse right, and I needed to do scary stuff to avoid calling page_referenced() while holding zone->lru_lock. Thanks Rik for making my thik head see that :-)
So here is an update of my code.
Changes:
- Changed the hash algo. for the nonresident buckets It is worse now, so it has to change again :-(
- Made the nonresident code blank out a paged in cookie.
- Rewrote the cart code (yet again) to work on temp lists much like refill_inactive and co.
I put all that code in cart.c instead of swap.c to get a clearer distinction on what was general page reclaim logic and what was part of the page cache.
Just before mailing (and ofcourse untested) I changed the calls to cart_rebalance_*() to take nr_dst/2 + 1 as target because I got too much OOMs, no idea if this solved it. When i put nr_scan = sc->swap_cluster_max (in shrink_cache) I go no OOMs, work left there.
Kind regards,
Peter Zijlstra
--
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>