Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754314Ab0FKFNU (ORCPT ); Fri, 11 Jun 2010 01:13:20 -0400 Received: from fgwmail7.fujitsu.co.jp ([192.51.44.37]:56390 "EHLO fgwmail7.fujitsu.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753243Ab0FKFNS (ORCPT ); Fri, 11 Jun 2010 01:13:18 -0400 X-SecurityPolicyCheck-FJ: OK by FujitsuOutboundMailChecker v1.3.1 Date: Fri, 11 Jun 2010 14:08:42 +0900 From: KAMEZAWA Hiroyuki To: KAMEZAWA Hiroyuki Cc: balbir@linux.vnet.ibm.com, Dave Hansen , Avi Kivity , kvm , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [RFC/T/D][PATCH 2/2] Linux/Guest cooperative unmapped page cache control Message-Id: <20100611140842.e748d47d.kamezawa.hiroyu@jp.fujitsu.com> In-Reply-To: <20100611140553.956f31ab.kamezawa.hiroyu@jp.fujitsu.com> References: <20100608155140.3749.74418.sendpatchset@L34Z31A.ibm.com> <20100608155153.3749.31669.sendpatchset@L34Z31A.ibm.com> <4C10B3AF.7020908@redhat.com> <20100610142512.GB5191@balbir.in.ibm.com> <1276214852.6437.1427.camel@nimitz> <20100611105441.ee657515.kamezawa.hiroyu@jp.fujitsu.com> <20100611044632.GD5191@balbir.in.ibm.com> <20100611140553.956f31ab.kamezawa.hiroyu@jp.fujitsu.com> Organization: FUJITSU Co. LTD. X-Mailer: Sylpheed 3.0.2 (GTK+ 2.10.14; i686-pc-mingw32) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 831 Lines: 20 On Fri, 11 Jun 2010 14:05:53 +0900 KAMEZAWA Hiroyuki wrote: > I can think of both way in kernel and in user approarh and they should be > complement to each other. > > An example of kernel-based approach is. > 1. add a shrinker callback(A) for balloon-driver-for-guest as guest kswapd. > 2. add a shrinker callback(B) for balloon-driver-for-host as host kswapd. > (I guess current balloon driver is only for host. Please imagine.) ^^^^ guest. Sorry. -Kame -- 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/