Received: by 2002:ac2:464d:0:0:0:0:0 with SMTP id s13csp1999632lfo; Sat, 28 May 2022 13:17:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzYOzgUjKkEc3NcNQl5eyJIMg8oLqiKXfXRsGnV5GnlVeZVgHvUDs0EOw4mCM0Vk7RqMoVi X-Received: by 2002:a63:6886:0:b0:3fb:fc21:7945 with SMTP id d128-20020a636886000000b003fbfc217945mr303525pgc.120.1653769072720; Sat, 28 May 2022 13:17:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653769072; cv=none; d=google.com; s=arc-20160816; b=O/vK6A470a0SSOvjSVuO2VZpKIhNn6ci8pcJUYl04oCQEEDbsGPX1p6vuCLuqsZChF mAveMmL51IdxTCi+JafpjpVceMriY3A1UwXYzp68QKgpfE3GaEJdrke1743znZwhQ+Vr VmOHlYH4dqPr/itPwA0xE5DDzBAeCmdfzsdwg4GSgUpco+io6J32f8A+WjEwceBwJdSs Dn3Y/Q/3msst/xznyET9KQ/uWnKbqWa4DzEFVt7YVz92qwn5GL5KKjQlGGs/W/8dgYVZ xYe4sBrYh+TB2+aY2aizhuu/zu1oT5k9vpFOYGrBLT9WKwtddVY6ZIYGvLH8L36utfyU p9sQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=zdUWMIkaVQo5/ztJhdqUq/oyKx8W5hvof7Mbhxo94Xo=; b=AvZ1oUgIKOz03gvGkXn5rw68sL9bix8XZz12IovP7jMrhig8pDw6ccI0ZB6yDE58Bs 73pyY+Jz8NHatFoYkNUw8emtXXUA97wCVVkBcGc4IoPPQVAOiEnpXCofUWLhOEq3msbR IAzdle6qOttC1aHHi1MpdtlbaBxv1HggDaWe+VSuaOmcemjI86No/FSPTZsS29TPIGwQ lGnin/AYfkmCoOHcn4FtN9nqUW2IsYY9MjD++TXmxoQ0gz3RrSC2hBGDr6wMBY7EeR5/ OlQzNbAeIdK/+lt2u7GN1SsepgJz9zJbvw6tuOvZRS+Tfwz35+Jx1zVV96n4M0h4P9bC XKYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=J0r4sKAO; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id o19-20020a17090ac09300b001dc263ce975si7245295pjs.97.2022.05.28.13.17.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 28 May 2022 13:17:52 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=J0r4sKAO; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0647053B4F; Sat, 28 May 2022 12:28:28 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351451AbiE0M64 (ORCPT + 99 others); Fri, 27 May 2022 08:58:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41232 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349209AbiE0M6y (ORCPT ); Fri, 27 May 2022 08:58:54 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 1A3AF3527A for ; Fri, 27 May 2022 05:58:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1653656332; 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: in-reply-to:in-reply-to:references:references; bh=zdUWMIkaVQo5/ztJhdqUq/oyKx8W5hvof7Mbhxo94Xo=; b=J0r4sKAOGQQkiuIn/EvhbgFnpXw0If+p0G1zAmYaF2yWSqwl6ffLqyb8yCfHnuhwWi5DgY z3su95pwvfWrGXoMNK6TTisOgUYXjE8cxGJVwX8lxqPb0AcIp7uALUqiM8+BpnffDo4Fss VtTmMWv7QAFL8atD9Yz7vRCFi61pPUA= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-328-KF64FyXdNgWzknneb9PXnQ-1; Fri, 27 May 2022 08:58:48 -0400 X-MC-Unique: KF64FyXdNgWzknneb9PXnQ-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 5CDB880B71A; Fri, 27 May 2022 12:58:48 +0000 (UTC) Received: from pauld.bos.csb (dhcp-17-51.bos.redhat.com [10.18.17.51]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 058C340EC002; Fri, 27 May 2022 12:58:46 +0000 (UTC) Date: Fri, 27 May 2022 08:58:45 -0400 From: Phil Auld To: Tejun Heo Cc: Juri Lelli , Waiman Long , Frederic Weisbecker , LKML , Peter Zijlstra , "Paul E . McKenney" , Paul Gortmaker , Johannes Weiner , Marcelo Tosatti , 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: <20220527125844.GA26124@pauld.bos.csb> References: <20220525221055.1152307-1-frederic@kernel.org> <20220525221055.1152307-5-frederic@kernel.org> <20220526225141.GA1214445@lothringen> <9e44bb00-955a-dbc6-a863-be649e0c701f@redhat.com> <20220527083018.n43nc73vuuzm5ixo@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Scanned-By: MIMEDefang 2.84 on 10.11.54.2 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 Hi, On Thu, May 26, 2022 at 10:45:00PM -1000 Tejun Heo wrote: > Hello, > > On Fri, May 27, 2022 at 10:30:18AM +0200, Juri Lelli wrote: > > FWIW, I was under the impression that this would nicely fit along the > > side of other feaures towards implenting dynamic isolation of CPUs (say > > https://lore.kernel.org/lkml/20220510153413.400020-1-longman@redhat.com/ > > for example). Wouldn't be awkward to have to poke different places to > > achieve isolation at runtime? > > So, it were just being part of the isolated domain thing, it would make > sense, but as a separate flag which isn't hierarchical, it's weird to put it > there. The way I see it is more that the "isolated domain thing" is one part of this whole dynamic isolation thing and is just one flag among many (most still on the drawing board, but planned). It may be that Waiman's "isolated" should be renamed "no_load_balance" or something. Part of this is making cpu isolation more granular. > > > Also, I wonder if a proc/sys interface might be problematic for certain > > middleware that is substantially based on using cgroups. I'll try to ask > > around. :) > > There is a downside to making a feature a part of cpuset in that it makes > cgroup usage mandatory. This is fine for something which benefits from > hierarchical organization but it is weird to require building cgroup > hierarchy for straight-forward system-wide features. > That ship may have sailed when SD_LOAD_BALANCE was removed, which is part of what Waiman's feature addresses. That is, now in order to get control over the system-wide feature of which CPUs get scheduler load balanced you need to use cpusets. My 3 cents anyway (inflation ;) Cheers, Phil > Thanks. > > -- > tejun > --