From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail202.messagelabs.com (mail202.messagelabs.com [216.82.254.227]) by kanga.kvack.org (Postfix) with ESMTP id AE7EB8D003B for ; Tue, 19 Apr 2011 20:20:25 -0400 (EDT) Received: from m3.gw.fujitsu.co.jp (unknown [10.0.50.73]) by fgwmail6.fujitsu.co.jp (Postfix) with ESMTP id CDF8C3EE0BD for ; Wed, 20 Apr 2011 09:20:22 +0900 (JST) Received: from smail (m3 [127.0.0.1]) by outgoing.m3.gw.fujitsu.co.jp (Postfix) with ESMTP id B122645DE95 for ; Wed, 20 Apr 2011 09:20:22 +0900 (JST) Received: from s3.gw.fujitsu.co.jp (s3.gw.fujitsu.co.jp [10.0.50.93]) by m3.gw.fujitsu.co.jp (Postfix) with ESMTP id 9085C45DE76 for ; Wed, 20 Apr 2011 09:20:22 +0900 (JST) Received: from s3.gw.fujitsu.co.jp (localhost.localdomain [127.0.0.1]) by s3.gw.fujitsu.co.jp (Postfix) with ESMTP id 837831DB803C for ; Wed, 20 Apr 2011 09:20:22 +0900 (JST) Received: from m107.s.css.fujitsu.com (m107.s.css.fujitsu.com [10.240.81.147]) by s3.gw.fujitsu.co.jp (Postfix) with ESMTP id 4AE25E08003 for ; Wed, 20 Apr 2011 09:20:22 +0900 (JST) From: KOSAKI Motohiro Subject: Re: [PATCH 0/3] pass the scan_control into shrinkers In-Reply-To: <1303235496-3060-1-git-send-email-yinghan@google.com> References: <1303235496-3060-1-git-send-email-yinghan@google.com> Message-Id: <20110420092003.45EB.A69D9226@jp.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Date: Wed, 20 Apr 2011 09:20:21 +0900 (JST) Sender: owner-linux-mm@kvack.org List-ID: To: Ying Han Cc: kosaki.motohiro@jp.fujitsu.com, Nick Piggin , Minchan Kim , Daisuke Nishimura , Balbir Singh , Tejun Heo , Pavel Emelyanov , KAMEZAWA Hiroyuki , Andrew Morton , Li Zefan , Mel Gorman , Christoph Lameter , Johannes Weiner , Rik van Riel , Hugh Dickins , Michal Hocko , Dave Hansen , Zhu Yanhai , linux-mm@kvack.org > This patch changes the shrink_slab and shrinker APIs by consolidating existing > parameters into scan_control struct. This simplifies any further attempts to > pass extra info to the shrinker. Instead of modifying all the shrinker files > each time, we just need to extend the scan_control struct. > Ugh. No, please no. Current scan_control has a lot of vmscan internal information. Please export only you need one, not all. Otherwise, we can't change any vmscan code while any shrinker are using it. -- 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 internet charges in Canada: sign http://stopthemeter.ca/ Don't email: email@kvack.org