From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030207AbbCLPgI (ORCPT ); Thu, 12 Mar 2015 11:36:08 -0400 Received: from mail-ig0-f171.google.com ([209.85.213.171]:33870 "EHLO mail-ig0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932203AbbCLPgC (ORCPT ); Thu, 12 Mar 2015 11:36:02 -0400 Message-ID: <5501B259.60902@gmail.com> Date: Thu, 12 Mar 2015 11:35:53 -0400 From: Austin S Hemmelgarn User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Aleksa Sarai CC: Tejun Heo , lizefan@huawei.com, mingo@redhat.com, peterz@infradead.org, richard@nod.at, =?UTF-8?B?RnLDqWTDqXJpYyBXZWlzYmVj?= =?UTF-8?B?a2Vy?= , linux-kernel@vger.kernel.org, cgroups@vger.kernel.org Subject: Re: [PATCH v4 2/2] cgroups: add a pids subsystem References: <1424660891-12719-1-git-send-email-cyphar@cyphar.com> <1425606357-6337-1-git-send-email-cyphar@cyphar.com> <1425606357-6337-3-git-send-email-cyphar@cyphar.com> <20150309033405.GE13283@htj.duckdns.org> <54FDED43.4050908@gmail.com> <54FED651.6040100@gmail.com> <55005BAC.9060405@gmail.com> In-Reply-To: x-hashcash: 1:21:150312:cyphar@cyphar.com::428c9501d24c9722352dc55b15bfb168:85b0756da523454c x-hashcash: 1:21:150312:tj@kernel.org::14adacae501b49b478dc8c68805f5cfe:7769e834b3c606ca x-hashcash: 1:21:150312:lizefan@huawei.com::46c4f68b4ddd888d3cf199133a48a45d:ed3509fb36278303 x-hashcash: 1:21:150312:mingo@redhat.com::14973c516780520f3b69202e1dfb7663:6827c0c80d3241fa x-hashcash: 1:21:150312:peterz@infradead.org::eb561746ba2b23502bc6b98aaea8eef4:571b4f8b297dac51 x-hashcash: 1:21:150312:richard@nod.at::d7de2034e61e03f2a237db8b78bdce98:c904f907cbcd42d9 x-hashcash: 1:21:150312:fweisbec@gmail.com::a413d3953b462144de8f897efbfdc077:79a2482c7c92da23 x-hashcash: 1:21:150312:linux-kernel@vger.kernel.org::fada8ffadcd46504e03ad2d12d7f0f77:9ee9794919a98f49 x-hashcash: 1:21:150312:cgroups@vger.kernel.org::98ef45bf3e73d143c35436f7a3fcf6f6:893c323033131822 x-stampprotocols: hashcash:1:17;mbound:0:10:3000:5000 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2015-03-11 22:28, Aleksa Sarai wrote: >> I did not necessarily word this very clearly. What I meant is that >> /proc/sys/kernel/pid_max is essentially an external limiting factor that >> caps the total number of pids that can be under the root cgroup and it's >> children, not that the cgroup in any way payed attention to it. It might be >> useful to be able to just disable the sysctl option and set the value >> through the root cgroup, solely or consistency, although such usage isn't >> something I would consider essential in any way. > > Maybe this is something that can be reviewed as a separate patchset to this > one? I'd much prefer that we actually get per-cgroup process limiting merged > first, then deal with such features separately. My thought exactly.