Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp4329494ioo; Tue, 31 May 2022 01:52:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyBeu+emUMEL4Cj+PjFuNqwI8pB48y8iu+KeExjAUfX/sa99OFvJiPQ0QWNjl861x9bE0SH X-Received: by 2002:a17:906:53ca:b0:6fe:ae32:e01e with SMTP id p10-20020a17090653ca00b006feae32e01emr47241765ejo.455.1653987134594; Tue, 31 May 2022 01:52:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653987134; cv=none; d=google.com; s=arc-20160816; b=WgYVSlgTZP/8FFHlV4ZmvQy72cuSJMKBNBoMummYX7Kq6z38mcxATmK15ck7iRRSqN T1xGKbZX1B3401+yeX6a4PRJY/73ggUHdJFfgC1kEn3g8ifVSAbZaj7HblE8SqExl11R au0NcwCHlg+fmUhejXUUKkr1feSLXqt+h66UmLTQmEwCuq8aeH/r+yRxh/6LvbA6qCvp lrvLLJ4UQv0C+WaIwIpaZW2cOZdOcNxzxsZZ4kFIouup5G5JPcOVob/kVrvS57WdLMe7 yTYrttuBi/4VZkWSXvDFYo19UYuOIFCz0RdIyQo1iq108pxxf0I9j15WrX2meLM6pAlD L0Qw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=PZLb+U/xicNXrjjBJlJZQYY34GTe9S7j2lMP8j+XPUU=; b=i4n1Psd3X3ZqL3v00YJ6AJKm+S0sgN/6i4Y/Y20OdtqdqdagBtwXVPysAEZlYE958O nirJtBZ1hfAW+ujFseCfGEUppGfdo2qOOWcGb9XzjajA8LC6W9bAEcIOwdgoM/6eG1hZ cyoj0SDk2LouZutmkKyx+iINukeXe2RmqxmC3GL0c2k6S22IKwrxfPXkM4TSVdw6MCOY YbI1BfBo30DYyHhqo9DiWslNAA96bXVw5xOCQIaljifUY40u/mjwDlswj/jTvnl45oX6 V2qQIV1fUKTnRlIIkjlr1yXxcHHcQ7qkpqFAm1z2S+b5wBRkfIQ1MxOKvPt2S+73cjhx HJWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=vD8A1irv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id di5-20020a170906730500b006feb145361esi1118905ejc.746.2022.05.31.01.51.47; Tue, 31 May 2022 01:52:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=vD8A1irv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238876AbiE3VgF (ORCPT + 99 others); Mon, 30 May 2022 17:36:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53072 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234333AbiE3VgE (ORCPT ); Mon, 30 May 2022 17:36:04 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3090999825; Mon, 30 May 2022 14:36:03 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id BCD5BB80EFB; Mon, 30 May 2022 21:36:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CFB8EC385B8; Mon, 30 May 2022 21:35:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1653946560; bh=7YNcmkRLolF/kp8AznAQ6pw37uC1DOd0oAfeaiw3X8A=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=vD8A1irvFLWQWd0Xei8uTuSGLDsSYQpPYzOVw2207sej/d/+q9qG2XUdVZskucLjw OD0DvHktTSm+HoCicUQAlubMVp6uAPtFdcEkI2JknWEnVwggVJ6V45/1SE8NKUhrbv 4aQ8NqFzXWptLb3/Q8SgsAUYLO//8NcMycXcO9ZdpFD9KH8Zwtm98VSyYrM/MVMD1d sb4Am06ug9S+OA4GWiPCna/HKjT5M9fFn5WWWhvK4zXkWOGMfhF3mNQBEsZzPeEtzG EcWdEkRs/sRp+OJAGLzTgcP/J2f5J2QA5NRrtdWLjexPBWzr183j6oCGhrFE1HGqa6 R6o7JSf0K4TXw== Date: Mon, 30 May 2022 23:35:56 +0200 From: Frederic Weisbecker To: Peter Zijlstra Cc: Juri Lelli , Tejun Heo , Waiman Long , LKML , "Paul E . McKenney" , Paul Gortmaker , Johannes Weiner , Marcelo Tosatti , Phil Auld , Zefan Li , Daniel Bristot de Oliveira , Nicolas Saenz Julienne , rcu@vger.kernel.org Subject: Re: [RFC PATCH 4/4] cpuset: Support RCU-NOCB toggle on v2 root partitions Message-ID: <20220530213556.GD1257179@lothringen> References: <20220526225141.GA1214445@lothringen> <9e44bb00-955a-dbc6-a863-be649e0c701f@redhat.com> <20220527083018.n43nc73vuuzm5ixo@localhost.localdomain> <20220530004049.GA1251147@lothringen> <20220530105650.GA1257179@lothringen> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 30, 2022 at 03:16:27PM +0200, Peter Zijlstra wrote: > On Mon, May 30, 2022 at 12:56:50PM +0200, Frederic Weisbecker wrote: > > > > This is ABI, you can't walk back on it. I would suggest starting with an > > > 'all feature' isolation. Only if there's real demand for something more > > > fine-grained add that on top. Simple first etc. > > > > That's actually my worry. If we start with an all in one ABI, how do we later > > mix that up with more finegrained features? Like what will be the behaviour of: > > > > cpuset.isolation.rcu_nocb = 0 > > cpuset.isolation.all = 1 > > Well clearly that doesn't make sense. I was more thinking along the > lines of cgroup.subtree_control, where instead all features are enabled > by default. > > But only if there's a real usecase, otherwise there's no point in > providing such knobs. That makes sense. So there would be a simple cpuset.isolation that can be either 1 or 0 where 1 has all possible isolation stuff on. Then if the need arises we can provide more tuning through a new specific cgroup controller, right? If so that sounds good to me.