Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp3877372ioo; Mon, 30 May 2022 11:49:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyK2URc7KgihNDMI+ISI48R1vtDNoTKYzABAskXhR/V1ysKAnfNuN0h2PVg0wY41gK/3Mrh X-Received: by 2002:a17:907:3d01:b0:6e0:c63b:1992 with SMTP id gm1-20020a1709073d0100b006e0c63b1992mr51688872ejc.422.1653936541127; Mon, 30 May 2022 11:49:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653936541; cv=none; d=google.com; s=arc-20160816; b=yJoMPrA9C8wBAbpMuqSsbFUqJ2QOyATfDJJ0PlViMzeQCVxD6XRqiVfZo1F2JiCK11 PU6YUqPQ5oIbAGK5ky2TO0BCFFt59YEAOF9G9As0sgl+34V7DmqTj2D5L21sYUbDaz4F ga0OcDWcBb4IbOrNDohk8uwm4/JgVGvpHB8cRYYomARN5nurjPgg8Tnbn0BG2T8YtKmN tJohYT3yOfKr3lbqpDQ0dxupuq6G0jz2vYAcKLw67tzx9Z402HYqdjdUK6kbcDdQMQ4K Uwk25m1zWJkA7Bvx8lpB3XZ6u7pCBhjplYQvItXZQZZI6nRg7fAhoVcfU9k7mZ+Fkr9a KyZA== 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=obYBR28FbpSJAp30gAezgU5OKkXGsA5r4rJru5EBzPo=; b=KdnXJJ9u7oXjkORUryPUGcP5o+YtEbLzwIe2AekLkQ9jVcIlW7W/AnOHlx+5efJskO dm+UmfAbqeXfKg4GQDVJ4SbsPa3lckr8YGm1LE2ov5tSbzEW6N1+iKzMcHIUMeFyreea 0bRw9vK1e+jMt86a4mSvI9J9onV8HxiB8V7Nmm1ON4kaMtFL63MbcvxQBvPA+02KxAzR 6vGKbyzDOMfelWul2KaSz/tHCCveUQ+K7zQzl/iMdyT/nVNeC+stne7mRJt64hqKCQ4F E+bhmY6Ts1d5Zfkjca+JNqcVUfghxO6TgA/Txv4peWzvxRxIStLoTCAuRgJ9BNzT1dSB MREQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=Jg0O7Zka; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y18-20020a50f1d2000000b0042b55a68356si13029669edl.365.2022.05.30.11.48.35; Mon, 30 May 2022 11:49:01 -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=@infradead.org header.s=casper.20170209 header.b=Jg0O7Zka; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236449AbiE3NQn (ORCPT + 99 others); Mon, 30 May 2022 09:16:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43036 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232433AbiE3NQm (ORCPT ); Mon, 30 May 2022 09:16:42 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 94DB364ED; Mon, 30 May 2022 06:16:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=obYBR28FbpSJAp30gAezgU5OKkXGsA5r4rJru5EBzPo=; b=Jg0O7ZkawyIbRQYiQh/fe1DLO5 pOHRuud+4bXV4vL70xI5fSEpFwKXx0k5p4uGlhacsWYGmIHWHSsVGbRyuXlR3uffdhblS/7bbXNKi wFgq5v6bZdIQTW8lSpbYaBomCcTk41s8jINRbPxdE4s4Z5HP0k2UJAAhioDN9Bj4fRvk324HcvURl Qk5VRSvmcYMXz1ORFPtzMgA/OtlL7xWpuu/TcLqh7cvKTFCHVCClBOSJFTmCfDAT8CY8PPs4AzG8T 3Nnct7Q0l8e+WE/0fLFV7vgC8CiW8FRkiGpRXWR9rMLz6kxKhh527AUvtIxDXX7zzjuga2UOZifWq U9dDap5w==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=worktop.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1nvfG2-004Umx-3z; Mon, 30 May 2022 13:16:30 +0000 Received: by worktop.programming.kicks-ass.net (Postfix, from userid 1000) id DB035980DE7; Mon, 30 May 2022 15:16:27 +0200 (CEST) Date: Mon, 30 May 2022 15:16:27 +0200 From: Peter Zijlstra To: Frederic Weisbecker 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: 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: <20220530105650.GA1257179@lothringen> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,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 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.