From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752000AbbCLBZ3 (ORCPT ); Wed, 11 Mar 2015 21:25:29 -0400 Received: from mail-qc0-f170.google.com ([209.85.216.170]:44829 "EHLO mail-qc0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750853AbbCLBZ0 (ORCPT ); Wed, 11 Mar 2015 21:25:26 -0400 Date: Wed, 11 Mar 2015 21:25:20 -0400 From: Tejun Heo To: Aleksa Sarai Cc: lizefan@huawei.com, mingo@redhat.com, peterz@infradead.org, richard@nod.at, =?iso-8859-1?Q?Fr=E9d=E9ric?= Weisbecker , linux-kernel@vger.kernel.org, cgroups@vger.kernel.org Subject: Re: [PATCH v2 1/2] cgroups: allow a cgroup subsystem to reject a fork Message-ID: <20150312012520.GD25944@htj.duckdns.org> References: <1424660891-12719-1-git-send-email-cyphar@cyphar.com> <1425010639-16492-1-git-send-email-cyphar@cyphar.com> <1425010639-16492-2-git-send-email-cyphar@cyphar.com> <20150309030636.GC13283@htj.duckdns.org> <20150309065902.GP13283@htj.duckdns.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 12, 2015 at 10:47:11AM +1100, Aleksa Sarai wrote: > Hi Tejun, > > > You can charge the parent's at can_attach(), remember which one you > > charged, and at post_fork() if the parent's has changed inbetween, fix > > it up. [...] > > Did you mean can_fork() instead of can_attach() here? Ah, yeah, can_fork(). Sorry about that. -- tejun