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

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

From: <hidden>
Date: 2012-01-18 10:45:04
Also in: lkml

-----Original Message-----
From: penberg@gmail.com [mailto:penberg@gmail.com] On Behalf Of ext
Pekka Enberg
Sent: 18 January, 2012 12:40
...
quoted
Not worse than %%. For example you had 10% free memory threshold for
512 MB RAM meaning 51.2 MB in absolute number.  Then hotplug turned
off 256 MB, you for sure must update threshold for %% because these
10% for 25.6 MB most likely will be not suitable for different operating
mode.
quoted
Using pages makes calculations must simpler.
Right. Does threshold in percentages make any sense then? Is it enough to
use number of free pages?
Paul Mundt noticed that and we stopped use percentage in 2006 for n770 update. 
He was right.
Percents are useless and do not correlate with other kernel APIs like sysinfo().

--
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