From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx115.postini.com [74.125.245.115]) by kanga.kvack.org (Postfix) with SMTP id AF6CE6B004D for ; Tue, 8 May 2012 06:41:27 -0400 (EDT) From: Subject: RE: [PATCH 3/3] vmevent: Implement special low-memory attribute Date: Tue, 8 May 2012 10:38:41 +0000 Message-ID: <84FF21A720B0874AA94B46D76DB98269045D6465@008-AM1MPN1-003.mgdnok.nokia.com> References: <20120501132409.GA22894@lizard> <20120501132620.GC24226@lizard> <4FA35A85.4070804@kernel.org> <20120504073810.GA25175@lizard> <20120507121527.GA19526@lizard> <4FA82056.2070706@gmail.com> <4FA8D046.7000808@gmail.com> <84FF21A720B0874AA94B46D76DB98269045D63B3@008-AM1MPN1-003.mgdnok.nokia.com> In-Reply-To: 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: penberg@kernel.org Cc: kosaki.motohiro@gmail.com, anton.vorontsov@linaro.org, minchan@kernel.org, john.stultz@linaro.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, linaro-kernel@lists.linaro.org, patches@linaro.org, kernel-team@android.com > -----Original Message----- > From: penberg@gmail.com [mailto:penberg@gmail.com] On Behalf Of ext > Pekka Enberg > Sent: 08 May, 2012 12:20 ... > On Tue, May 8, 2012 at 12:15 PM, wrote: > > I am tracking conversation with quite low understanding how it will be > > useful for practical needs because user-space developers in 80% cases > > needs to track simply dirty memory changes i.e. modified pages which ca= nnot > be dropped. >=20 > The point is to support those cases in such a way that works sanely acros= s > different architectures and configurations. Which usually means you need to increase level of abstraction from hugepage= s, swapped, kernel reclaimable, slab allocated, active memory to used, cach= e and must-have memory which are common for all platforms. Do you have visi= bility what do you need to show and how do you will calculate it? Does it p= ossible to do for system, group of processes or particular process? I implemented system-wide variant because that was a simplest one and most = urgent I need. But e.g. to say how much memory consumed particular process = in Linux you need to use smaps. Probably vmevent need to have some scratche= s (aka roadmap) into this direction as well. -- 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