lkml.org 
[lkml]   [2008]   [Jan]   [15]   [last100]   RSS Feed
Views: [more markup]   [less markup]   [headers]   [forward]  
 
Messages in this thread
/
DateTue, 15 Jan 2008 11:20:27 +0000
FromAlan Cox <>
SubjectRe: [RFC][PATCH 3/5] add /dev/mem_notify device
On Tue, 15 Jan 2008 19:59:02 +0900
KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> wrote:

> 
> > > the core of this patch series.
> > > add /dev/mem_notify device for notification low memory to user process.
> > 
> > As you only wake one process how would you use this API from processes
> > which want to monitor and can free memory under load. Also what fairness
> > guarantees are there...
> 
> Sorry, I don't make sense what you mean fairness.
> Could you tell more?

If you have two processes each waiting on mem_notify is it not possible
that one of them will keep being the one woken up and the other will
remain stuck ?

It also appears there is no way to wait for memory shortages (processes
that can free memory easily) only for memory to start appearing.
--
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/

\
 
 \ /
  Last update: 2008-01-15 10:27    [W:0.194 / U:0.700 seconds]
©2003-2008 Jasper Spaans