Thread (21 messages) 21 messages, 5 authors, 2011-02-04
STALE5621d

[patch 0/2] memcg: clean up limit checking

From: Johannes Weiner <hannes@cmpxchg.org>
Date: 2011-02-03 12:54:11
Also in: lkml

On Mon, Jan 31, 2011 at 04:24:48PM -0800, Andrew Morton wrote:
On Tue, 1 Feb 2011 01:04:55 +0100
Johannes Weiner [off-list ref] wrote:
quoted
Maybe it would be better to use res_counter_margin(cnt) >= wanted
throughout the code.
yup.
Okay, I cleaned it all up a bit for .39.  While doing so, I also found
that we are reclaiming one page too much when pushing back on behalf
of soft limits.

So 1/2 fixes the soft limit reclaim off-by-one-page, and 2/2 reduces
all the limit checks to two functions.

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