login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
January
»
16
Re: [RFC][PATCH 3/5] add /dev/mem_notify device
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
KOSAKI Motohiro <kosaki.motohiro@...>
To: Alan Cox <alan@...>
Cc: <kosaki.motohiro@...>, <linux-mm@...>, <linux-kernel@...>, Marcelo Tosatti <marcelo@...>, Daniel Spang <daniel.spang@...>, Rik van Riel <riel@...>, Andrew Morton <akpm@...>
Subject:
Re: [RFC][PATCH 3/5] add /dev/mem_notify device
Date: Tuesday, January 15, 2008 - 10:43 pm
Hi Alan
quoted text
> > > It also appears there is no way to wait for memory shortages (processes > > > that can free memory easily) only for memory to start appearing. > > > > poll() with never timeout don't fill your requirement? > > to be honest, maybe I don't understand your afraid yet. sorry. > > My misunderstanding. There is in fact no way to wait for memory to become > available. The poll() method you provide works nicely waiting for > shortages and responding to them by freeing memory. > > It would be interesting to add FASYNC support to this. Some users have > asked for a signal when memory shortage occurs (as IBM AIX provides > this). FASYNC support would allow a SIGIO to be delivered from this > device when memory shortages occurred. Poll as you have implemented is of > course the easier way for a program to monitor memory and a better > interface.
OK. I will challenge implement at mem_notify v5. - kosaki --
unsubscribe notice
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/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[RFC][PATCH 0/5] mem notifications v4
, KOSAKI Motohiro
, (Mon Jan 14, 8:52 pm)
[RFC][PATCH 5/5] /proc/zoneinfo enhancement
, KOSAKI Motohiro
, (Mon Jan 14, 9:03 pm)
Re: [RFC][PATCH 5/5] /proc/zoneinfo enhancement
, Alan Cox
, (Tue Jan 15, 6:44 am)
Re: [RFC][PATCH 5/5] /proc/zoneinfo enhancement
, KOSAKI Motohiro
, (Tue Jan 15, 6:49 am)
[RFC][PATCH 4/5] memory_pressure_notify() caller
, KOSAKI Motohiro
, (Mon Jan 14, 9:02 pm)
Re: [RFC][PATCH 4/5] memory_pressure_notify() caller
, Daniel Spång
, (Tue Jan 15, 6:55 pm)
Re: [RFC][PATCH 4/5] memory_pressure_notify() caller
, Rik van Riel
, (Tue Jan 15, 6:59 pm)
Re: [RFC][PATCH 4/5] memory_pressure_notify() caller
, Daniel Spång
, (Tue Jan 15, 7:39 pm)
Re: [RFC][PATCH 4/5] memory_pressure_notify() caller
, KOSAKI Motohiro
, (Tue Jan 15, 9:48 pm)
Re: [RFC][PATCH 4/5] memory_pressure_notify() caller
, Daniel Spång
, (Wed Jan 16, 7:03 am)
Re: [RFC][PATCH 4/5] memory_pressure_notify() caller
, KOSAKI Motohiro
, (Wed Jan 16, 11:26 pm)
Re: [RFC][PATCH 4/5] memory_pressure_notify() caller
, Daniel Spång
, (Fri Jan 18, 6:24 am)
Re: [RFC][PATCH 4/5] memory_pressure_notify() caller
, KOSAKI Motohiro
, (Fri Jan 18, 6:30 am)
Re: [RFC][PATCH 4/5] memory_pressure_notify() caller
, KAMEZAWA Hiroyuki
, (Mon Jan 14, 10:06 pm)
Re: [RFC][PATCH 4/5] memory_pressure_notify() caller
, KOSAKI Motohiro
, (Mon Jan 14, 10:37 pm)
Re: [RFC][PATCH 4/5] memory_pressure_notify() caller
, KAMEZAWA Hiroyuki
, (Mon Jan 14, 11:00 pm)
Re: [RFC][PATCH 4/5] memory_pressure_notify() caller
, KOSAKI Motohiro
, (Mon Jan 14, 11:08 pm)
[RFC][PATCH 3/5] add /dev/mem_notify device
, KOSAKI Motohiro
, (Mon Jan 14, 9:01 pm)
Re: [RFC][PATCH 3/5] add /dev/mem_notify device
, Pavel Machek
, (Tue Jan 15, 6:16 pm)
Re: [RFC][PATCH 3/5] add /dev/mem_notify device
, KOSAKI Motohiro
, (Tue Jan 15, 9:57 pm)
Re: [RFC][PATCH 3/5] add /dev/mem_notify device
, Marcelo Tosatti
, (Wed Jan 16, 12:13 am)
Re: [RFC][PATCH 3/5] add /dev/mem_notify device
, Pavel Machek
, (Wed Jan 16, 7:42 am)
Re: [RFC][PATCH 3/5] add /dev/mem_notify device
, Daniel Spång
, (Wed Jan 16, 7:51 am)
Re: [RFC][PATCH 3/5] add /dev/mem_notify device
, KOSAKI Motohiro
, (Wed Jan 16, 11:04 pm)
Re: [RFC][PATCH 3/5] add /dev/mem_notify device
, Alan Cox
, (Tue Jan 15, 6:46 am)
Re: [RFC][PATCH 3/5] add /dev/mem_notify device
, KOSAKI Motohiro
, (Tue Jan 15, 6:59 am)
Re: [RFC][PATCH 3/5] add /dev/mem_notify device
, Alan Cox
, (Tue Jan 15, 7:20 am)
Re: [RFC][PATCH 3/5] add /dev/mem_notify device
, Marcelo Tosatti
, (Tue Jan 15, 8:05 am)
Re: [RFC][PATCH 3/5] add /dev/mem_notify device
, Alan Cox
, (Tue Jan 15, 9:42 am)
Re: [RFC][PATCH 3/5] add /dev/mem_notify device
, KOSAKI Motohiro
, (Tue Jan 15, 7:48 am)
Re: [RFC][PATCH 3/5] add /dev/mem_notify device
, Alan Cox
, (Tue Jan 15, 9:42 am)
Re: [RFC][PATCH 3/5] add /dev/mem_notify device
, KOSAKI Motohiro
, (Tue Jan 15, 10:43 pm)
Re: [RFC][PATCH 3/5] add /dev/mem_notify device
, KAMEZAWA Hiroyuki
, (Mon Jan 14, 10:10 pm)
Re: [RFC][PATCH 3/5] add /dev/mem_notify device
, KOSAKI Motohiro
, (Mon Jan 14, 10:20 pm)
Re: [RFC][PATCH 3/5] add /dev/mem_notify device
, Rik van Riel
, (Mon Jan 14, 10:56 pm)
Re: [RFC][PATCH 3/5] add /dev/mem_notify device
, Randy Dunlap
, (Mon Jan 14, 9:08 pm)
Re: [RFC][PATCH 3/5] add /dev/mem_notify device
, KOSAKI Motohiro
, (Mon Jan 14, 9:20 pm)
Re: [RFC][PATCH 3/5] add /dev/mem_notify device
, KOSAKI Motohiro
, (Mon Jan 14, 9:24 pm)
[RFC][PATCH 2/5] introduce wake_up_locked_nr() new API
, KOSAKI Motohiro
, (Mon Jan 14, 9:00 pm)
[RFC][PATCH 1/5] introduce poll_wait_exclusive() new API
, KOSAKI Motohiro
, (Mon Jan 14, 8:59 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Mariusz Kozlowski
[PATCH 01] kmalloc + memset conversion co kzalloc
Rafael J. Wysocki
[Bug #10629] 2.6.26-rc1-$sha1: RIP __d_lookup+0x8c/0x160
Vladislav Bolkhovitin
Re: Integration of SCST in the mainstream Linux kernel
Jeff Garzik
Re: [RFC] Heads up on sys_fallocate()
git-commits-head
:
git
:
linux-netdev
:
Linus Torvalds
Re: [GIT]: Networking
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Andrew Morton
Re: [BUG] New Kernel Bugs
Colocation donated by:
Who's online
There are currently
4 users
and
953 guests
online.
Online users
kmatbuncitp
strcmp
warkosmart
catchacan57
Syndicate