From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751060AbdHRPZb (ORCPT ); Fri, 18 Aug 2017 11:25:31 -0400 Received: from mail-qt0-f196.google.com ([209.85.216.196]:34616 "EHLO mail-qt0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750847AbdHRPZa (ORCPT ); Fri, 18 Aug 2017 11:25:30 -0400 Date: Fri, 18 Aug 2017 08:25:26 -0700 From: Tejun Heo To: Waiman Long Cc: Li Zefan , Johannes Weiner , linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 2/2] cpuset: Allow v2 behavior in v1 cgroup Message-ID: <20170818152526.GD491396@devbig577.frc2.facebook.com> References: <1502998390-25283-1-git-send-email-longman@redhat.com> <1502998390-25283-3-git-send-email-longman@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1502998390-25283-3-git-send-email-longman@redhat.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 17, 2017 at 03:33:10PM -0400, Waiman Long wrote: > Cpuset v2 has some useful behaviors that are not present in v1 because > of backward compatibility concern. One of that is the restoration of > the original cpu and memory node mask after a hot removal and addition > event sequence. > > This patch makes the cpuset controller to check the > CGRP_ROOT_CPUSET_V2_MODE flag and use the v2 behavior if it is set. > > Signed-off-by: Waiman Long Applied 1-2 to cgroup/for-4.14. Thanks! -- tejun