[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <84FF21A720B0874AA94B46D76DB9826904562B60@008-AM1MPN1-003.mgdnok.nokia.com>
Date: Wed, 25 Jan 2012 08:19:11 +0000
From: <leonid.moiseichuk@...ia.com>
To: <penberg@...nel.org>, <mtosatti@...hat.com>
CC: <rhod@...hat.com>, <riel@...hat.com>, <minchan@...nel.org>,
<linux-mm@...ck.org>, <linux-kernel@...r.kernel.org>,
<kamezawa.hiroyu@...fujitsu.com>, <mel@....ul.ie>,
<rientjes@...gle.com>, <kosaki.motohiro@...il.com>,
<hannes@...xchg.org>, <akpm@...ux-foundation.org>,
<kosaki.motohiro@...fujitsu.com>
Subject: RE: [RFC 1/3] /dev/low_mem_notify
> -----Original Message-----
> From: ext Pekka Enberg [mailto:penberg@...nel.org]
> Sent: 24 January, 2012 18:11
> To: Marcelo Tosatti
....
> On Tue, 2012-01-24 at 13:38 -0200, Marcelo Tosatti wrote:
> > Having userspace specify the "sample period" for low memory
> > notification makes no sense. The frequency of notifications is a
> > function of the memory pressure.
>
> Sure, it makes sense to autotune sample period. I don't see the problem
> with letting userspace decide it for themselves if they want to.
>
> Pekka
Good point, but you must take into account that reaction time in user-space depends how SW stack is organized.
So for some components 1s is good enough update time, for another cases 10ms.
If changes on VM happened too often they had no sense for user-space.
Thus from practical point of view having sampling period is not a bad idea.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists