linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: a.p.zijlstra@chello.nl
To: linux-mm@kvack.org
Subject: [RFC][patch 0/6] CART Implementation ver 2
Date: Mon, 29 Aug 2005 06:31:33 +0200	[thread overview]
Message-ID: <20050829043132.908007000@twins> (raw)

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>

             reply	other threads:[~2005-08-29  4:40 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-29  4:31 a.p.zijlstra [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050829043132.908007000@twins \
    --to=a.p.zijlstra@chello.nl \
    --cc=linux-mm@kvack.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox