Received: by 2002:a17:90a:1609:0:0:0:0 with SMTP id n9csp2406516pja; Thu, 26 Mar 2020 14:48:27 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtI2zmHGfhOPsjTUEjiIcqFnXSOGWsPHhCBlGAqCz/rD6GqyQ9mIDaGdIcIDnWR5KbPGrPu X-Received: by 2002:a4a:950b:: with SMTP id m11mr7008993ooi.83.1585259307179; Thu, 26 Mar 2020 14:48:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585259307; cv=none; d=google.com; s=arc-20160816; b=0T+Lgo9x913jWwCpd6k1TD3RX+MWUiYi0yV3igeveEQ70VsBv7sp4c1YUpCwue7+NS tahnWoYLPrqNBOXyy9O6lSJ2Rr+M8nP1gvtDOvMOBVoE16xKEM8Xuqt3MWUf2XKGXXPv wKadK77Ir6xeW4mp+FebV4UqZfmgagwlpTMof9LrX3hsJE1IaR0uu1rfsWtxgldWcQ+h eobcO2GP75xSYHrQ6vUwn2dfiYp/qrX2JGROtVVb7BBHwGtz328INiJx5Cp60qWthNkG oblJvliFqwQ7iPaeaWtRaOtG2LjzDdh4vGJ5DFFHKrEvApxtW/Osw+wHWwgK5dr4OKlk i28g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:organization:from:references:cc:to:subject :dkim-signature; bh=d/7D0H39fzxBW1aDOQOylNWNd9Qe3dOSz4cHq2u2z+8=; b=snl+zr5LxKhJbFhaLRz+qRa/gKpm5lYOiy/kc1zl3DEB2IWQ7YvDfdg8X71cNJ9Kgi TKP6eYTijIk+DZN5V5nXCedrb64I8KXs9Qlt2xBneMQBKCjB6xXLeBXkmHZlG2NY8vnV erW8cKSlSJ1W+FPY0v5lKdAsVVZUBcCfaoH2NPJNipc/Xx+q+wN+7s+e7yefz0KxcnKz BxVGXn624jg/mwqe9u4ULMeTbZw7PsOzFRjs06TfX1WKcUrtQZZxA797czVOpgoDGUze bs1SstfsRdwJTFZB3WTmE2Da+muhF9b8zCVPMn1ot4tkGzqWy33AL1y/nkQCBAbKde9p 58UQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=M77B4lXT; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l13si1603391otb.102.2020.03.26.14.48.14; Thu, 26 Mar 2020 14:48:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=M77B4lXT; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727354AbgCZVrs (ORCPT + 99 others); Thu, 26 Mar 2020 17:47:48 -0400 Received: from us-smtp-delivery-74.mimecast.com ([63.128.21.74]:59451 "EHLO us-smtp-delivery-74.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726296AbgCZVrr (ORCPT ); Thu, 26 Mar 2020 17:47:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1585259266; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=d/7D0H39fzxBW1aDOQOylNWNd9Qe3dOSz4cHq2u2z+8=; b=M77B4lXTvWrbbGsMv9+hfV74fw7GPxXc5riEuIvO0UfD15tn60Efx+qWONIuw59nlH+UAA O9cBXnnWboz8RbnwhYZvwReCMfRRnZBq8GAPs9iUgGPx/nPWasSZQSL2jXBUtdCZ/Ahax9 IzwrKFWveEjPnVjVo/TDgCvo5HxQZOg= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-274-Za6QPCxyOTqu3ComYKIBKQ-1; Thu, 26 Mar 2020 17:47:42 -0400 X-MC-Unique: Za6QPCxyOTqu3ComYKIBKQ-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 46A16107ACC4; Thu, 26 Mar 2020 21:47:40 +0000 (UTC) Received: from llong.remote.csb (ovpn-117-112.rdu2.redhat.com [10.10.117.112]) by smtp.corp.redhat.com (Postfix) with ESMTP id E82FA19C69; Thu, 26 Mar 2020 21:47:36 +0000 (UTC) Subject: Re: [PATCH RFC] cpuset: Make cpusets get restored on hotplug To: Sonny Rao Cc: Joel Fernandes , Tejun Heo , linux-kernel@vger.kernel.org, Dmitry Shmidt , Amit Pundir , kernel-team@android.com, Jesse Barnes , vpillai@digitalocean.com, Peter Zijlstra , Guenter Roeck , Greg Kerr , cgroups@vger.kernel.org, Johannes Weiner , Li Zefan References: <20200326191623.129285-1-joel@joelfernandes.org> <20200326192035.GO162390@mtj.duckdns.org> <20200326194448.GA133524@google.com> <972a5c1b-6721-ac20-cec5-617af67e617d@redhat.com> From: Waiman Long Organization: Red Hat Message-ID: Date: Thu, 26 Mar 2020 17:47:36 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/26/20 4:05 PM, Sonny Rao wrote: >> I think Tejun is concerned about a change in the default behavior of >> cpuset v1. >> >> There is a special v2 mode for cpuset that is enabled by the mount >> option "cpuset_v2_mode". This causes the cpuset v1 to adopt some of the >> v2 behavior. I introduced this v2 mode a while back to address, I think, >> a similar concern. Could you try that to see if it is able to address >> your problem? If not, you can make some code adjustment within the >> framework of the v2 mode. As long as it is an opt-in, I think we are >> open to further change. > I am surprised if anyone actually wants this behavior, we (Chrome OS) > found out about it accidentally, and then found that Android had been > carrying a patch to fix it. And if it were a desirable behavior then > why isn't it an option in v2? > I am a bit confused. The v2 mode make cpuset v1 behaves more like cpuset v2. The original v1 behavior has some obvious issue that was fixed in v2. So what v2 option are you talking about? Regards, Longman