Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1981697rdb; Thu, 7 Dec 2023 14:41:30 -0800 (PST) X-Google-Smtp-Source: AGHT+IHei3p9DAA5Tym2SP2kvUv8uPpSnRbk82fVsFjSwTC4lmFMxjzm/YrvxW/uPxnpq7NXouSJ X-Received: by 2002:a92:7a0e:0:b0:35d:7b57:2294 with SMTP id v14-20020a927a0e000000b0035d7b572294mr4251750ilc.32.1701988890557; Thu, 07 Dec 2023 14:41:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701988890; cv=none; d=google.com; s=arc-20160816; b=nYgI7Cdql6cpSmaos+KYQhrFeRD/HAID9o/w+Sj+ncdVCYavl4KRkJ8tlGJmM7WZaH QQBnXZr0bMzsbbkKCIiJNEWzVRWWysnzw+hLSFcOZepU1hTB9rB/WRUtYsTteUm4CsRU 5USMbhXHRIzuWjH9XKHfwKjlL9uspjiDvdGyEY4D7ZPOHTvNKL6LvyqCoO2NyqBFwbDb MfMPIzMy5mc4c3/w5u6zqFyF/amgm85Yx0E+Hlg2aNgl1OO5W/9oiuCE1AucQ0CmpMI7 662EXbtnFV49uYHt75HpRFGzPsp3pGMVLLrecoUqGweaAAz7SAwfH8V3qmzTxCKB8g3N SGbw== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:sender:dkim-signature; bh=aWwtPSuJ4EcoYc0K8T+hlW+rYGdha5aHVzCoAjzsYOI=; fh=WFLCo7gSVFMZXflEUVU6oihH5oXkw+ZP+iktR35sfBE=; b=MD4KKfuUsEn3Nu4Oz6hBrOpBjeMKrNPSapPJLF/M9RSH+f2jNvd8oYnx/SZzy3umxF UKAOThZeGjJjrAF+GkYBIMHx62iZHGTFdmrJbMZtu+PM3duaJtXkVzVR0B5/KIDdRZqc EZDUUVGbx7NYPt+EjZbuLJvwXM0m20ZtMX9OSXTo0GS04UfXdxdAp6mHuQDyI/euNO4f x9MSkDuMY7yeq5PMWYkziS728T3M7Qu9Kr9C/oBkfIBvNQCigpWV/NuIcnqRCYeKT6dW KW9Tke7yz5yXd7WydhS85q1ekZadsPLYodNP/xanxUso12MvZx3uwX3t+tJjtue2N2pi IMpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=laTgJrFN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id f1-20020a6547c1000000b005bdbd1b52d4si370427pgs.270.2023.12.07.14.41.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 14:41:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=laTgJrFN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id F3E578526816; Thu, 7 Dec 2023 14:41:27 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232443AbjLGWlF (ORCPT + 99 others); Thu, 7 Dec 2023 17:41:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38156 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235614AbjLGWlC (ORCPT ); Thu, 7 Dec 2023 17:41:02 -0500 Received: from mail-pf1-x42b.google.com (mail-pf1-x42b.google.com [IPv6:2607:f8b0:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 86CC2170F for ; Thu, 7 Dec 2023 14:41:08 -0800 (PST) Received: by mail-pf1-x42b.google.com with SMTP id d2e1a72fcca58-6ce33234fd7so964347b3a.0 for ; Thu, 07 Dec 2023 14:41:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701988868; x=1702593668; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:sender :from:to:cc:subject:date:message-id:reply-to; bh=aWwtPSuJ4EcoYc0K8T+hlW+rYGdha5aHVzCoAjzsYOI=; b=laTgJrFNtg49Gzjdh9o6OuuZXExkyAkxvD8m8vPwwa/l8uLGKYJHC/phAh8fkXJVix aIZBgFSWyg9pHoEmSdXg5FlIpd/IvE6pUi239MgKsXqx9RbYOYN3yiwRV6jksIiMHwDz MOU291Hq1OGTTM6pgMnd8s0d8Lm/mSQ6YWYMfhayxhn5PYFfecgR0z25foGhNlffOtPc l/b3xbCuMDCkrdUsstlua4afuZbR0rQe6G3xYUwCZ1QhuAfR2LFWAG6rSIwHcBhG+B3I YXRccbz9wPKyBwd9ceIdv/pwdUceWjn7RlHGWGqdu7TAHacQ8+f3Znm0Lr0hLoiWVBUp fOeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701988868; x=1702593668; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:sender :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=aWwtPSuJ4EcoYc0K8T+hlW+rYGdha5aHVzCoAjzsYOI=; b=PeF6HMFJSiSJskZt4O+sSmPwjlMaznthwhljEmAMK3fRsNq1n8jbdpfPRoyY0t19p8 yHSY3wtS6QAWYARn/gGNHG9Bf/JNJY6DUr+lKeugi+8fmZP2Sj/BYeOlwBtKuOBKFw7v ZJ1AVQySlZ4azrv3fnIKdSqcR/iJI7N1iVS2ugZZCPIfa9hj/dIVLKf6dhYB+7drNcGw 6ONb7z5MejtpuMcExn3capl1MzZQFnyWjzSg0ICwvAQ2YOGS549SgBgYZBIlruDTigIK ZUNNJ99a8CMp8QH/NwOy9iXneqDKmQJe5goRuZmcKUqcdvhBzbLkx7BjFpVF/aY6QEQL B4TQ== X-Gm-Message-State: AOJu0YyhOu4/MowRL/SgH24DhJGJIL+R1fBoWXe6oYT/80d5jzUzWrqn zT8p+MwRNk6FrwWKxrN/JW8= X-Received: by 2002:a05:6a21:a5a4:b0:181:ed8b:4823 with SMTP id gd36-20020a056a21a5a400b00181ed8b4823mr3537546pzc.43.1701988867842; Thu, 07 Dec 2023 14:41:07 -0800 (PST) Received: from localhost (dhcp-72-253-202-210.hawaiiantel.net. [72.253.202.210]) by smtp.gmail.com with ESMTPSA id t20-20020a056a00139400b006cd88728572sm282054pfg.211.2023.12.07.14.41.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 14:41:07 -0800 (PST) Sender: Tejun Heo Date: Thu, 7 Dec 2023 12:41:06 -1000 From: Tejun Heo To: Vincent Guittot Cc: Gianfranco Dutka , linux-kernel@vger.kernel.org, vincent.guittot@linaro.com, Ingo Molnar , Peter Zijlstra , Juri Lelli , Dietmar Eggemann , Steven Rostedt , Ben Segall , Mel Gorman , Daniel Bristot de Oliveira , Valentin Schneider , "Pandruvada, Srinivas" , Frederic Weisbecker , Waiman Long Subject: Re: Modifying isolcpus, nohz_full, and rcu_nocb kernel parameters at runtime Message-ID: References: <76587DD3-2A77-41A3-9807-6AEE4398EBA6@arista.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-1.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,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 howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Thu, 07 Dec 2023 14:41:28 -0800 (PST) (cc'ing Waiman) On Thu, Dec 07, 2023 at 05:32:15PM +0100, Vincent Guittot wrote: > Hi Gianfranco, > > + Adding all scheduler maintainers and few other people that are > working on similar things > > On Thu, 7 Dec 2023 at 16:07, Gianfranco Dutka > wrote: ... > > I'm a bit new to kernel development but I had a question with respect to the kernel parameters: isolcpus, nohz_full, and rcu_nocbs. > > > > Basically the question is this, am I able to modify the three parameters I mentioned above at runtime after the kernel has already started/booted? Doing some reading online it seems that it’s not possible but I wanted to double check with the maintainers if there wasn’t some sort of change in the works that might make it possible. If not, what would be required to make the change after boot-time through some kind of patch or something like that? Would that be something that might be valuable upstream? > > It's not possible but you can achieve something close with cgroup > although you will still have some housekeeping activities happening in > your partition. FWIW, Waiman has been improving both the usability and level of isolation with cpuset, so it should be better now. Thanks. -- tejun