Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752217AbbKZQA7 (ORCPT ); Thu, 26 Nov 2015 11:00:59 -0500 Received: from mx1.redhat.com ([209.132.183.28]:47762 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751060AbbKZQA5 (ORCPT ); Thu, 26 Nov 2015 11:00:57 -0500 Date: Thu, 26 Nov 2015 17:01:37 +0100 From: Oleg Nesterov To: Tejun Heo Cc: Aleksa Sarai , Johannes Weiner , Li Zefan , linux-kernel@vger.kernel.org Subject: Re: [PATCH?] race between cgroup_subsys->fork() and cgroup_migrate() Message-ID: <20151126160137.GB23581@redhat.com> References: <20151125163427.GA8139@redhat.com> <20151125195138.GC14240@htj.duckdns.org> <20151125195410.GD14240@htj.duckdns.org> <20151125204057.GF14240@htj.duckdns.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20151125204057.GF14240@htj.duckdns.org> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 709 Lines: 18 On 11/25, Tejun Heo wrote: > > And I spotted a bug in cgroup core in controller enable path. While > the race between fork and attach exists and needs to be fixed, I think > the cgroup core bug is the main source of discrepancy. Will update > once I learn more. OK. I do not know what exactly do you mean, perhaps if you fix this problem the race between fork and attach goes away and in this case the fix I sent is not needed? I'll wait for more info. Oleg. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/