Thread (29 messages) flat view 29 messages, 3 authors, 2011-12-12

Re: [PATCH v8 2/9] foundations of per-cgroup memory pressure controlling.

From: Glauber Costa <hidden>
Date: 2011-12-09 12:41:40
Also in: cgroups, linux-mm, lkml

On 12/08/2011 11:24 PM, KAMEZAWA Hiroyuki wrote:
On Mon,  5 Dec 2011 19:34:56 -0200
Glauber Costa[off-list ref]  wrote:
quoted
This patch replaces all uses of struct sock fields' memory_pressure,
memory_allocated, sockets_allocated, and sysctl_mem to acessor
macros. Those macros can either receive a socket argument, or a mem_cgroup
argument, depending on the context they live in.

Since we're only doing a macro wrapping here, no performance impact at all is
expected in the case where we don't have cgroups disabled.

Signed-off-by: Glauber Costa<redacted>
CC: David S. Miller<davem@davemloft.net>
CC: Hiroyouki Kamezawa<redacted>
CC: Eric W. Biederman<redacted>
CC: Eric Dumazet<redacted>
please get ack from network guys.
from me.
Reviewed-by: KAMEZAWA Hiroyuki<redacted>
Ok.

I think that now with all the Reviewed-by:'s I will resend it as a 
Request for Inclusion for Dave (plus fixing the problem you noted in 
patch 1)

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