linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [RFC][patch 0/6] CART Implementation ver 2
@ 2005-08-29  4:31 a.p.zijlstra
  2005-08-29  4:31 ` [RFC][patch 1/6] " a.p.zijlstra
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: a.p.zijlstra @ 2005-08-29  4:31 UTC (permalink / raw)
  To: linux-mm

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 majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-08-29  4:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-29  4:31 [RFC][patch 0/6] CART Implementation ver 2 a.p.zijlstra
2005-08-29  4:31 ` [RFC][patch 1/6] " a.p.zijlstra
2005-08-29  4:31 ` [RFC][patch 2/6] " a.p.zijlstra
2005-08-29  4:31 ` [RFC][patch 3/6] " a.p.zijlstra
2005-08-29  4:31 ` [RFC][patch 4/6] " a.p.zijlstra
2005-08-29  4:31 ` [RFC][patch 5/6] " a.p.zijlstra
2005-08-29  4:31 ` [RFC][patch 6/6] " a.p.zijlstra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox