Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751175AbZLDFGG (ORCPT ); Fri, 4 Dec 2009 00:06:06 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750823AbZLDFGF (ORCPT ); Fri, 4 Dec 2009 00:06:05 -0500 Received: from fgwmail5.fujitsu.co.jp ([192.51.44.35]:40857 "EHLO fgwmail5.fujitsu.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750788AbZLDFGE (ORCPT ); Fri, 4 Dec 2009 00:06:04 -0500 X-SecurityPolicyCheck-FJ: OK by FujitsuOutboundMailChecker v1.3.1 From: KOSAKI Motohiro To: Andrea Arcangeli Subject: Re: [PATCH 2/9] ksm: let shared pages be swappable Cc: kosaki.motohiro@jp.fujitsu.com, Rik van Riel , KAMEZAWA Hiroyuki , Hugh Dickins , Andrew Morton , Izik Eidus , Chris Wright , linux-kernel@vger.kernel.org, linux-mm@kvack.org In-Reply-To: <20091203134610.586E.A69D9226@jp.fujitsu.com> References: <20091202125501.GD28697@random.random> <20091203134610.586E.A69D9226@jp.fujitsu.com> Message-Id: <20091204135938.5886.A69D9226@jp.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver. 2.50.07 [ja] Date: Fri, 4 Dec 2009 14:06:07 +0900 (JST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1260 Lines: 29 > Umm?? Personally I don't like knob. If you have problematic workload, > please tell it us. I will try to make reproduce environment on my box. > If current code doesn't works on KVM or something-else, I really want > to fix it. > > I think Larry's trylock idea and your 64 young bit idea can be combinate. > I only oppose the page move to inactive list without clear young bit. IOW, > if VM pressure is very low and the page have lots young bit, the page should > go back active list although trylock(ptelock) isn't contended. > > But unfortunatelly I don't have problem workload as you mentioned. Anyway > we need evaluate way to your idea. We obviouslly more info. [Off topic start] Windows kernel have zero page thread and it clear the pages in free list periodically. because many windows subsystem prerefer zero filled page. hen, if we use windows guest, zero filled page have plenty mapcount rather than other typical sharing pages, I guess. So, can we mark as unevictable to zero filled ksm page? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/