Thread (18 messages) 18 messages, 4 authors, 2011-11-23

Re: [Devel] Re: [PATCH v5 00/10] per-cgroup tcp memory pressure

From: David Miller <davem@davemloft.net>
Date: 2011-11-17 21:35:27
Also in: linux-mm, lkml

From: James Bottomley <redacted>
Date: Tue, 15 Nov 2011 18:27:12 +0000
Ping on this, please.  We're blocked on this patch set until we can get
an ack that the approach is acceptable to network people.
__sk_mem_schedule is now more expensive, because instead of short-circuiting
the majority of the function's logic when "allocated <= prot->sysctl_mem[0]"
and immediately returning 1, the whole rest of the function is run.

The static branch protecting all of the cgroup code seems to be
enabled if any memory based cgroup'ing is enabled.  What if people use
the memory cgroup facility but not for sockets?  I am to understand
that, of the very few people who are going to use this stuff in any
capacity, this would be a common usage.

TCP specific stuff in mm/memcontrol.c, at best that's not nice at all.

Otherwise looks mostly good.

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