Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp996770lqo; Fri, 17 May 2024 07:51:05 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUD1WYXfJTLmK60qc0XV2czKL/Xi/B4+pjPucuDDesWzmT0mmlGKstVaiQYw/wN0jZvlTOZm6lOdBLG/fUPTARtHFqxahwYMoPDa4WN8w== X-Google-Smtp-Source: AGHT+IGml+0z0ocvB0+iGAHnJChcxQfSozd6RAca0PVsj2rGvgDbQaVZQ+3N0tWLB33416so+sAw X-Received: by 2002:a05:6214:5547:b0:6a3:6260:1c42 with SMTP id 6a1803df08f44-6a53623bd57mr21624416d6.3.1715957465750; Fri, 17 May 2024 07:51:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715957465; cv=pass; d=google.com; s=arc-20160816; b=P1zIafEcS1pBYAkn5obIuS4fKbCBgBqm+X58sLiTTFUYqOjn0NJwJtDdLrKMHQWnXM /CLmONhvvLrO4IaDrj78AlIY6K1qpMNxGJdiC0aXQxm0nGVC+LZcDZ8dXEgUbLQxcijg Zy1Tv4pTtVOZ2haGZzEcmSiLvTobUkD6gS1vhZXcgmo2Y2uJQ/3M94l56XYVMxJXc0hF uOxtaQ9zs6Z7iM5bQto0DE9/sHvmyPA5ebqJqAd+KIZd/sG1hOTj3f6Iqk/eEt/x9RYP b+fAhS1hmIRFxGen/RNw6jOJEvXYCsTXwawziWd04QWJYOD1fNE7MfcwscpafpSigQj+ XJ1Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=PpOMEItSPf81MfcSpnPp5wu41/T3nifLb6DXkKCf3aM=; fh=pYQrMWRbkoOftEfpHYa+n7bWXefjxt7OrJ23IGl4uTo=; b=rfHbx7VQPSWM9RYHUH9/h951/qpopfultt4Uq3mAkpKXODR8UOUCJEEujznDUTiyO1 aJhBUsjNAgHv3BgfjZWXX04h4Zu2nkfexc/32VVti6oZ8z2Neh+mDg24Xn2w+CJxKmm4 +bo95gUKPCunnpXIxGdfUd/Vu7YcvM67wWqQhXymQ9aoi6Ph6BocqAlHu6Ip+sO9j8S3 DQbqJ6OBCjo0kxvley5YMLTc2/9mVUsoePp/979LK63Y7R1hpazDT+Un4ok+32P/Ffy3 fP/eJ/FktxMjFeJ6HtwKEqKgeo2X/fZ5f2njxHn8/6lHPmn89BClha0ARNCbOP38SnV0 xfPw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NCd0e5Wk; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-182235-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-182235-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 6a1803df08f44-6a15f2b7af3si190824696d6.339.2024.05.17.07.51.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 May 2024 07:51:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-182235-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NCd0e5Wk; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-182235-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-182235-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 407F31C216ED for ; Fri, 17 May 2024 14:51:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 77C7C604DD; Fri, 17 May 2024 14:51:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="NCd0e5Wk" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9DF2E1863F for ; Fri, 17 May 2024 14:50:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715957459; cv=none; b=gbD7KsPyaiNFqhHQd/k6k5uDwzV2HAmCTvOS0VNAGF7fgd6DrYHKzKTVx5Ah7lnU+EfQOrI1VLeXlEvFksiPLGivgRgkXZUoPifgSE43jsJL9nKSNWAgxC6pHEumF9IzKxN/DJ2jqhCBFkDYxp2mXASEBpgMQ/bENrtANuIKkL0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715957459; c=relaxed/simple; bh=/3Ff205MN8HPJmBvMpwpWRFGY7yUTT9Pn5wmoEEM/gw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ULZOV2AbCa1XzUhq6mVRLRUFB4wUJCmlJak13RzpjHb9RTArFCOjCO9Fu5lo21sjjRXG7aDPnT33bRGUu2sAw5KCLmjG8ic2BXQgd/h2xl1Ia0SSo5s8WsQA5fgt4opUEi7WKtpkmKA6PBrX/cqUhdE6IhWRngEnECBPmuUD3NY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=NCd0e5Wk; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id ED950C2BD10; Fri, 17 May 2024 14:50:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715957459; bh=/3Ff205MN8HPJmBvMpwpWRFGY7yUTT9Pn5wmoEEM/gw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=NCd0e5WkPiDFIR4LEwBHnb56CyyWxfk3T9IhBesuNmMwENf5/QRX7LAf0BTUkUR2u IubphLQ0cjXXDv+v9Y9ok5to/pPGfUbLCT8vAlx+BL+QseFMOPa7oCu86VmFcjQcBe P92YYEHxRQ4joIJNZZFgAibVQFrZooxFnNGztZF30hom2deOHhJ4wzNgOkCNxZY7s8 qK16zwb4hqrKT2+RCaZ6pvZAo1Dw8BT4RMP2ls1XIlj7B2K+4+pO6AfMayDB6fnv9t 1I3dUfkGolM0i2fhPRNL3ZxraygAIPuTSqQ6GM98jx9cKFKnQPNV9gQaiBLyHaSeww jfFa4hrrpw/BQ== Date: Fri, 17 May 2024 16:50:56 +0200 From: Frederic Weisbecker To: Peter Zijlstra Cc: Yun Levi , Joel Fernandes , Vineeth Pillai , Vincent Guittot , Dietmar Eggemann , anna-maria@linutronix.de, mingo@kernel.org, tglx@linutronix.de, Markus.Elfring@web.de, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4] time/tick-sched: idle load balancing when nohz_full cpu becomes idle. Message-ID: References: <20240516084911.GF22557@noisy.programming.kicks-ass.net> <20240516140003.GJ22557@noisy.programming.kicks-ass.net> <20240516144504.GL22557@noisy.programming.kicks-ass.net> <20240516151953.GM22557@noisy.programming.kicks-ass.net> <20240516175321.GN22557@noisy.programming.kicks-ass.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20240516175321.GN22557@noisy.programming.kicks-ass.net> Le Thu, May 16, 2024 at 07:53:21PM +0200, Peter Zijlstra a ?crit : > On Thu, May 16, 2024 at 05:32:56PM +0200, Frederic Weisbecker wrote: > > On Thu, May 16, 2024 at 05:19:53PM +0200, Peter Zijlstra wrote: > > > > Yes, but stronger, as long as the CPU is part of a load-balance domain, > > > it must not disable the tick while running anything. > > > > > > that is, NOHZ_FULL must not become active unless it's running on a > > > single CPU partition. > > > > I like the idea but I'm afraid to introduce regressions while doing so, > > with people currently using nohz_full without proper partionning... > > There is no regression, if this is possible today it is utterly broken. > > This should never have been possible. Ok, I'll try something. Thanks.