From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750860AbcHJEAE (ORCPT ); Wed, 10 Aug 2016 00:00:04 -0400 Received: from mail-yb0-f193.google.com ([209.85.213.193]:35660 "EHLO mail-yb0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750708AbcHJEAC (ORCPT ); Wed, 10 Aug 2016 00:00:02 -0400 Date: Tue, 9 Aug 2016 23:59:59 -0400 From: Tejun Heo To: Zefan Li Cc: LKML , Cgroups Subject: Re: [PATCH] cpuset: make sure new tasks conform to the current config of the cpuset Message-ID: <20160810035959.GF25053@mtj.duckdns.org> References: <57A94D0D.5040006@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <57A94D0D.5040006@huawei.com> User-Agent: Mutt/1.6.2 (2016-07-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 09, 2016 at 11:25:01AM +0800, Zefan Li wrote: > A new task inherits cpus_allowed and mems_allowed masks from its parent, > but if someone changes cpuset's config by writing to cpuset.cpus/cpuset.mems > before this new task is inserted into the cgroup's task list, the new task > won't be updated accordingly. > > Signed-off-by: Zefan Li Applied to cgroup/for-4.8-fixes w/ stable cc'd. Thanks. -- tejun