Thread (62 messages) 62 messages, 11 authors, 2012-01-26

Re: [RFC 1/3] /dev/low_mem_notify

From: Pekka Enberg <penberg@kernel.org>
Date: 2012-01-19 07:25:20
Also in: lkml

On Thu, 19 Jan 2012, Ronen Hod wrote:
I believe that it will be best if the kernel publishes an ideal 
number_of_free_pages (in /proc/meminfo or whatever). Such number is easy to 
work with since this is what applications do, they free pages. Applications 
will be able to refer to this number from their garbage collector, or before 
allocating memory also if they did not get a notification, and it is also 
useful if several applications free memory at the same time.
Isn't

/proc/sys/vm/min_free_kbytes

pretty much just that?

 			Pekka

--
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: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help