login
Login
/
Register
Search
Search this site:
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
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: KOSAKI Motohiro
Subject:
Re: [RFC][PATCH 3/5] add /dev/mem_notify device
Date: Tuesday, January 15, 2008 - 7: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, 5:52 pm)
[RFC][PATCH 1/5] introduce poll_wait_exclusive() new API
, KOSAKI Motohiro
, (Mon Jan 14, 5:59 pm)
[RFC][PATCH 2/5] introduce wake_up_locked_nr() new API
, KOSAKI Motohiro
, (Mon Jan 14, 6:00 pm)
[RFC][PATCH 3/5] add /dev/mem_notify device
, KOSAKI Motohiro
, (Mon Jan 14, 6:01 pm)
[RFC][PATCH 4/5] memory_pressure_notify() caller
, KOSAKI Motohiro
, (Mon Jan 14, 6:02 pm)
Re: [RFC][PATCH 3/5] add /dev/mem_notify device
, Randy Dunlap
, (Mon Jan 14, 6:08 pm)
Re: [RFC][PATCH 3/5] add /dev/mem_notify device
, KOSAKI Motohiro
, (Mon Jan 14, 6:20 pm)
Re: [RFC][PATCH 3/5] add /dev/mem_notify device
, KOSAKI Motohiro
, (Mon Jan 14, 6:24 pm)
Re: [RFC][PATCH 4/5] memory_pressure_notify() caller
, KAMEZAWA Hiroyuki
, (Mon Jan 14, 7:06 pm)
Re: [RFC][PATCH 3/5] add /dev/mem_notify device
, KAMEZAWA Hiroyuki
, (Mon Jan 14, 7:10 pm)
Re: [RFC][PATCH 3/5] add /dev/mem_notify device
, KOSAKI Motohiro
, (Mon Jan 14, 7:20 pm)
Re: [RFC][PATCH 3/5] add /dev/mem_notify device
, Rik van Riel
, (Mon Jan 14, 7:56 pm)
Re: [RFC][PATCH 4/5] memory_pressure_notify() caller
, KAMEZAWA Hiroyuki
, (Mon Jan 14, 8:00 pm)
Re: [RFC][PATCH 4/5] memory_pressure_notify() caller
, KOSAKI Motohiro
, (Mon Jan 14, 8:08 pm)
Re: [RFC][PATCH 5/5] /proc/zoneinfo enhancement
, Alan Cox
, (Tue Jan 15, 3:44 am)
Re: [RFC][PATCH 3/5] add /dev/mem_notify device
, Alan Cox
, (Tue Jan 15, 3:46 am)
Re: [RFC][PATCH 5/5] /proc/zoneinfo enhancement
, KOSAKI Motohiro
, (Tue Jan 15, 3:49 am)
Re: [RFC][PATCH 3/5] add /dev/mem_notify device
, KOSAKI Motohiro
, (Tue Jan 15, 3:59 am)
Re: [RFC][PATCH 3/5] add /dev/mem_notify device
, Alan Cox
, (Tue Jan 15, 4:20 am)
Re: [RFC][PATCH 3/5] add /dev/mem_notify device
, KOSAKI Motohiro
, (Tue Jan 15, 4:48 am)
Re: [RFC][PATCH 3/5] add /dev/mem_notify device
, Marcelo Tosatti
, (Tue Jan 15, 5:05 am)
Re: [RFC][PATCH 3/5] add /dev/mem_notify device
, Alan Cox
, (Tue Jan 15, 6:42 am)
Re: [RFC][PATCH 3/5] add /dev/mem_notify device
, Alan Cox
, (Tue Jan 15, 6:42 am)
Re: [RFC][PATCH 3/5] add /dev/mem_notify device
, Pavel Machek
, (Tue Jan 15, 3:16 pm)
Re: [RFC][PATCH 4/5] memory_pressure_notify() caller
, Daniel Spång
, (Tue Jan 15, 3:55 pm)
Re: [RFC][PATCH 4/5] memory_pressure_notify() caller
, Rik van Riel
, (Tue Jan 15, 3:59 pm)
Re: [RFC][PATCH 4/5] memory_pressure_notify() caller
, Daniel Spång
, (Tue Jan 15, 4:39 pm)
Re: [RFC][PATCH 4/5] memory_pressure_notify() caller
, KOSAKI Motohiro
, (Tue Jan 15, 6:48 pm)
Re: [RFC][PATCH 3/5] add /dev/mem_notify device
, KOSAKI Motohiro
, (Tue Jan 15, 6:57 pm)
Re: [RFC][PATCH 3/5] add /dev/mem_notify device
, KOSAKI Motohiro
, (Tue Jan 15, 7:43 pm)
Re: [RFC][PATCH 3/5] add /dev/mem_notify device
, Marcelo Tosatti
, (Tue Jan 15, 9:13 pm)
Re: [RFC][PATCH 4/5] memory_pressure_notify() caller
, Daniel Spång
, (Wed Jan 16, 4:03 am)
Re: [RFC][PATCH 3/5] add /dev/mem_notify device
, KOSAKI Motohiro
, (Wed Jan 16, 8:04 pm)
Re: [RFC][PATCH 4/5] memory_pressure_notify() caller
, KOSAKI Motohiro
, (Wed Jan 16, 8:26 pm)
Re: [RFC][PATCH 4/5] memory_pressure_notify() caller
, KOSAKI Motohiro
, (Fri Jan 18, 3:30 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Alexey Dobriyan
Re: [2.6.22.2 review 09/84] Fix rfkill IRQ flags.
Michael Moore
Re: underage models, pre teen models, lolita porn, young preteens, little lolitas
Alex Riesen
Re: [PATCH 4/7] lib: Introduce strnstr()
Thomas Gleixner
[ANNOUNCE] 2.6.31-rc6-rt2
Mathieu Desnoyers
Re: Linux 2.6.25-rc2
git
:
Blaisorblade
git-unpack-objects < pack file in repository doesn't work!
Matthieu Moy
Re: Cloning empty repositories, was Re: What is the idea for bare repositories?
Linus Torvalds
Re: Untracked working tree files
Peter Karlsson
Re: CRLF problems with Git on Win32
Johannes Schindelin
Re: [PATCH 4/4] git-rebase -i: New option to support rebase with merges
linux-netdev
:
Alan Menegotto
Re: Linux networking implementation and packet capture
Andrew Morton
Re: [PATCH] PHYLIB: IRQ event workqueue handling fixes
Timo Teräs
ip xfrm policy semantics
Jarek Poplawski
Re: [PATCH]: Fix queueing return values...
David Miller
Re: [PATCH 1/2] netdev: bfin_mac: enable bfin_mac net dev driver for BF51x
git-commits-head
:
Linux Kernel Mailing List
Blackfin: don't give CPU its own line in traps output
Linux Kernel Mailing List
No need to do lock_super() for exclusion in generic_shutdown_super()
Linux Kernel Mailing List
x86, msr: Export the register-setting MSR functions via /dev/*/msr
Linux Kernel Mailing List
MIPS: SMTC: Fix lockup in smtc_distribute_timer
Linux Kernel Mailing List
powerpc: gamecube/wii: usbgecko bootwrapper console support
openbsd-misc
:
Aaron Mason
Re: Defending OpenBSD Performance
Henning Brauer
Re: Defending OpenBSD Performance
Henning Brauer
Re: Defending OpenBSD Performance
Christiano Farina Haesbaert
Re: Defending OpenBSD Performance
Nick Holland
Re: 1 out of 3 hunks failed--saving rejects to kerberosV/src/lib/krb5/crypto.c.rej
Colocation donated by:
Syndicate