From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail191.messagelabs.com (mail191.messagelabs.com [216.82.242.19]) by kanga.kvack.org (Postfix) with SMTP id 6384D6B004A for ; Tue, 9 Nov 2010 16:41:11 -0500 (EST) Date: Tue, 9 Nov 2010 22:40:36 +0100 From: Andrea Arcangeli Subject: Re: [PATCH 43 of 66] don't leave orhpaned swap cache after ksm merging Message-ID: <20101109214036.GE6809@random.random> References: <20101109120747.BC4B.A69D9226@jp.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20101109120747.BC4B.A69D9226@jp.fujitsu.com> Sender: owner-linux-mm@kvack.org To: KOSAKI Motohiro Cc: linux-mm@kvack.org, Linus Torvalds , Andrew Morton , linux-kernel@vger.kernel.org, Marcelo Tosatti , Adam Litke , Avi Kivity , Hugh Dickins , Rik van Riel , Mel Gorman , Dave Hansen , Benjamin Herrenschmidt , Ingo Molnar , Mike Travis , KAMEZAWA Hiroyuki , Christoph Lameter , Chris Wright , bpicco@redhat.com, Balbir Singh , "Michael S. Tsirkin" , Peter Zijlstra , Johannes Weiner , Daisuke Nishimura , Chris Mason , Borislav Petkov List-ID: On Tue, Nov 09, 2010 at 12:08:25PM +0900, KOSAKI Motohiro wrote: > > From: Andrea Arcangeli > > > > When swapcache is replaced by a ksm page don't leave orhpaned swap cache. > > > > Signed-off-by: Andrea Arcangeli > > Reviewed-by: Rik van Riel > > This explanation seems to tell this is bugfix. If so, please separate > this one from THP and will send mainline and -stable soon. Right. I'm uncertain if this is so bad to require -stable I think, if it was more urgent I would have submitted already separately but it's true it's not THP specific. It's only fatal for cloud computing, where the manager has to decide to migrate more VM to one node, but it won't if it sees tons of swap used and it will think there's not enough margin for KSM cows until the VM is migrated back to another node. -- 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/ . Fight unfair telecom policy in Canada: sign http://dissolvethecrtc.ca/ Don't email: email@kvack.org