From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753439AbbCZWSb (ORCPT ); Thu, 26 Mar 2015 18:18:31 -0400 Received: from mail-qc0-f171.google.com ([209.85.216.171]:36104 "EHLO mail-qc0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753257AbbCZWS2 (ORCPT ); Thu, 26 Mar 2015 18:18:28 -0400 Date: Thu, 26 Mar 2015 18:18:23 -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 v6 2/3] cgroups: allow a cgroup subsystem to reject a fork Message-ID: <20150326221823.GG1953@htj.duckdns.org> References: <1426307835-5893-1-git-send-email-cyphar@cyphar.com> <1426307835-5893-3-git-send-email-cyphar@cyphar.com> <20150316165335.GC8353@htj.duckdns.org> <20150326150223.GA1953@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 Fri, Mar 27, 2015 at 08:41:05AM +1100, Aleksa Sarai wrote: > > You can't pin css_set from inside cgroup callbacks. It's a construct > > which in general shouldn't be accessible outside cgroup core. > > Yeah, sorry I meant css (you aren't pinning, but you're still saving under RCU > and dealing with the association-related stuff inside post_fork). How would that work without pinning? What'd keep the css from going away between pre and post? Thanks. -- tejun