[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080512093307.2ace3096@bree.surriel.com>
Date: Mon, 12 May 2008 09:33:07 -0400
From: Rik van Riel <riel@...hat.com>
To: Daisuke Nishimura <nishimura@....nes.nec.co.jp>
Cc: lee.schermerhorn@...com, akpm@...ux-foundation.org,
kosaki.motohiro@...fujitsu.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH -mm 05/15] free swap space on swap-in/activation
On Mon, 12 May 2008 20:21:32 +0900
Daisuke Nishimura <nishimura@....nes.nec.co.jp> wrote:
> So, the intention of this patch is
> not to free a swap space of swap cache that has already swapped in
> and only used one process as do_swap_page() does,
> but to free a swap space that is only used as a swap cache
> (not used by any processes), right?
No. The code should also free the swap space of pages that are
mapped by processes, in order to free up swap space for other
uses. This only happens if vm_swap_full() is true.
--
All rights reversed.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists