From mboxrd@z Thu Jan 1 00:00:00 1970 From: Glauber Costa Subject: Re: [PATCH v2 6/7] tcp buffer limitation: per-cgroup limit Date: Sat, 17 Sep 2011 09:12:57 -0300 Message-ID: <4E748EC9.2030303@parallels.com> References: <1316051175-17780-1-git-send-email-glommer@parallels.com> <1316051175-17780-7-git-send-email-glommer@parallels.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Cc: , , , , , , , , To: Glauber Costa Return-path: In-Reply-To: <1316051175-17780-7-git-send-email-glommer@parallels.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On 09/14/2011 10:46 PM, Glauber Costa wrote: > This patch uses the "tcp_max_mem" field of the kmem_cgroup to > effectively control the amount of kernel memory pinned by a cgroup. > > We have to make sure that none of the memory pressure thresholds > specified in the namespace are bigger than the current cgroup. > > Signed-off-by: Glauber Costa > CC: David S. Miller > CC: Hiroyouki Kamezawa > CC: Eric W. Biederman > --- heads up: I found a small problem in a corner case here yesterday. So I will resubmit this series. It you guys have any other comments let me know, so I can address them as well.