From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754368Ab1IQMNq (ORCPT ); Sat, 17 Sep 2011 08:13:46 -0400 Received: from mx2.parallels.com ([64.131.90.16]:60942 "EHLO mx2.parallels.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751598Ab1IQMNo (ORCPT ); Sat, 17 Sep 2011 08:13:44 -0400 Message-ID: <4E748EC9.2030303@parallels.com> Date: Sat, 17 Sep 2011 09:12:57 -0300 From: Glauber Costa User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0.2) Gecko/20110906 Thunderbird/6.0.2 MIME-Version: 1.0 To: Glauber Costa CC: , , , , , , , , Subject: Re: [PATCH v2 6/7] tcp buffer limitation: per-cgroup limit References: <1316051175-17780-1-git-send-email-glommer@parallels.com> <1316051175-17780-7-git-send-email-glommer@parallels.com> In-Reply-To: <1316051175-17780-7-git-send-email-glommer@parallels.com> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [187.106.51.14] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@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.