From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753243AbdHPBU5 (ORCPT ); Tue, 15 Aug 2017 21:20:57 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:3977 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752813AbdHPBU4 (ORCPT ); Tue, 15 Aug 2017 21:20:56 -0400 Subject: Re: [PATCH] cpuset: Allow v2 behavior in v1 cgroup To: Waiman Long , Tejun Heo , "Johannes Weiner" , Jonathan Corbet References: <1502818040-9967-1-git-send-email-longman@redhat.com> CC: , From: Zefan Li X-Enigmail-Draft-Status: N1110 Message-ID: <59939DDB.8010205@huawei.com> Date: Wed, 16 Aug 2017 09:20:27 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <1502818040-9967-1-git-send-email-longman@redhat.com> Content-Type: text/plain; charset="gbk" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.177.19.236] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020202.59939DE7.00ED,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2014-11-16 11:51:01, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: 7f434fe1f7ebc12cef6ceba300303e33 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2017/8/16 1:27, Waiman Long wrote: > Cpuset v2 has some valuable attributes 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 adds a new kernel command line option "cpuset_v2_mode=" to > allow cpuset to have v2 behavior in a v1 cgroup when using a non-zero > value. This enables users to optionally enable cpuset v2 behavior if > they choose to. > > Signed-off-by: Waiman Long I have no strong objection. I have received quite a few requests for this in the past, and some were from other departments in my company.