From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f54.google.com (mail-pa0-f54.google.com [209.85.220.54]) by kanga.kvack.org (Postfix) with ESMTP id C6A9C6B0032 for ; Thu, 26 Sep 2013 14:53:33 -0400 (EDT) Received: by mail-pa0-f54.google.com with SMTP id kx10so1719107pab.27 for ; Thu, 26 Sep 2013 11:53:33 -0700 (PDT) From: "Luck, Tony" Subject: RE: [Results] [RFC PATCH v4 00/40] mm: Memory Power Management Date: Thu, 26 Sep 2013 18:50:55 +0000 Message-ID: <3908561D78D1C84285E8C5FCA982C28F31D1BA12@ORSMSX106.amr.corp.intel.com> References: <20130925231250.26184.31438.stgit@srivatsabhat.in.ibm.com> <52437128.7030402@linux.vnet.ibm.com> <20130925164057.6bbaf23bdc5057c42b2ab010@linux-foundation.org> <20130925234734.GK18242@two.firstfloor.org> <52438AA9.3020809@linux.intel.com> <20130925182129.a7db6a0fd2c7cc3b43fda92d@linux-foundation.org> <20130926015016.GM18242@two.firstfloor.org> <20130925195953.826a9f7d.akpm@linux-foundation.org> <524439D5.8020306@linux.vnet.ibm.com> <52445993.7050608@linux.intel.com> <52446841.2030301@linux.vnet.ibm.com> <524477AC.9090400@linux.intel.com> <52447DED.5080205@linux.vnet.ibm.com> In-Reply-To: <52447DED.5080205@linux.vnet.ibm.com> Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Sender: owner-linux-mm@kvack.org List-ID: To: "Srivatsa S. Bhat" , Arjan van de Ven Cc: Andrew Morton , Andi Kleen , "mgorman@suse.de" , "dave@sr71.net" , "hannes@cmpxchg.org" , "matthew.garrett@nebula.com" , "riel@redhat.com" , "srinivas.pandruvada@linux.intel.com" , "willy@linux.intel.com" , "kamezawa.hiroyu@jp.fujitsu.com" , "lenb@kernel.org" , "rjw@sisk.pl" , "gargankita@gmail.com" , "paulmck@linux.vnet.ibm.com" , "svaidy@linux.vnet.ibm.com" , "isimatu.yasuaki@jp.fujitsu.com" , "santosh.shilimkar@ti.com" , "kosaki.motohiro@gmail.com" , "linux-pm@vger.kernel.org" , "linux-mm@kvack.org" , "linux-kernel@vger.kernel.org" , "maxime.coquelin@stericsson.com" , "loic.pallardy@stericsson.com" , "thomas.abraham@linaro.org" , "amit.kachhap@linaro.org" > And that's it! No other case for page movement. And with this conservativ= e > approach itself, I'm getting great consolidation ratios! > I am also thinking of adding more smartness in the code to be very choosy= in > doing the movement, and do it only in cases where it is almost guaranteed= to > be beneficial. For example, I can make the kmempowerd kthread more "lazy" > while moving/reclaiming stuff; I can bias the page movements such that "c= old" > pages are left around (since they are not expected to be referenced much > anyway) and only the (few) hot pages are moved... etc. Can (or should) this migrator coordinate with khugepaged - I'd hate to see = them battling over where to move pages ... or undermining each other (your daemo= n frees up a 512MB area ... and khugepaged immediately grabs a couple of 2MB pages from it to upgrade some process with a scattershot of 4K pages). -Tony -- 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/ . Don't email: email@kvack.org