Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp395991lqo; Thu, 16 May 2024 09:13:17 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUeDazMbmCGQonpzXQzL6Nw8MzHyY3xOcMJRJsDVVnNLyItRVpeU0H5lLuLOaLwUpMp+a/NckJ0zGFTDSpjFyKD9TQyKC47mQALJyTiSw== X-Google-Smtp-Source: AGHT+IEQ1w8tE/niBM8NflLTecSF06HSHVoLtEkc17PpyNR4Cc96jY7RlAlcqxU7vvhCF7yHGsou X-Received: by 2002:a05:620a:3953:b0:793:6cf:d2fd with SMTP id af79cd13be357-79306cfd65bmr252761585a.19.1715875997343; Thu, 16 May 2024 09:13:17 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715875997; cv=pass; d=google.com; s=arc-20160816; b=Ps99oxkJXjoI8J05x++4dkDOvkX0/ibta9sNfyY5wbuG+cxg1mMWNe0wKCDTquy49q JjPH4nOobBunJ+8XnQ3495T8LFwebiBl7k3EyDySKQ7hf5/AfBXoWt9L4Gbq7Vby1NiV lD0CeSx0uTzsuqlErdRUxOeUjFZE7g7i2SpuPQJaNhBfTI7G6NiNNTr69Q9orBt3drVu 8DfV8K5RfBE1VURdhKm+zMZXt2udCgUZjMKaPmwPIr4tBl5l8C7U+7ZDjXshB5kVUo6B ZGjGvGfNzMia8Ync64e0PEX3sStnzdwD/LQp57axEk5uMse5gZSeyig0SVngvc2qRh8N Obiw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=EDVDStN9akIll0ya820KZNeIn7ir4olgOtXijBH6aOg=; fh=4atDV7ar36YGVJMc0X1naNeLIzKPjbbz39XpehowVRM=; b=IZw8Y89cuPpGMpf64IWcMWobMxTN3E6zFn7MyBi3SeL50EvYp0LZ04oNGTyswnWS/r eHi6I7dnyEJ+j8alvJ8RLOSBuVRqNyXK6ISbweM87pKM4X/NZIXz5IgiYweKNN5NUqBr irdjSdisTTmGaH9YRvAsm7PUHThrrvIsjEjYm64xmN8Y5QIbdSKW7csSCBOsWzyPZzj1 4YHxM6YpHW79rjvVM8Xcwq/77Z51vqzFqk6oon+kg4Sy8eTm5lOSWhLYQcMRMzqDB55X EOR/qKAzXsf4VM2mOa0xmj3F1q06SdCbwSvMcdHsG4IbXTd1XcpONCdWwyQGa01v0bPs 1ehw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=QQz9+USn; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-181302-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-181302-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id af79cd13be357-792bf33b32bsi1618574285a.448.2024.05.16.09.13.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 May 2024 09:13:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-181302-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=QQz9+USn; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-181302-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-181302-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 99D8C1C2272E for ; Thu, 16 May 2024 16:12:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4330D14D71F; Thu, 16 May 2024 16:12:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="QQz9+USn" Received: from mail-qt1-f176.google.com (mail-qt1-f176.google.com [209.85.160.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1EC8614D707 for ; Thu, 16 May 2024 16:12:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.176 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715875967; cv=none; b=f3b1MQ39E1n6UjPLw1+yRZ+DwmYgDpz8Obd8XOAMNHGFCMyFAElDfDiKPDB2Aq1OoshIccaAyEEbxDPYC/WEwm4eX8Rays3q2ZCOtNbuhYDf7aQgyE0tYY2EJvoVGhOGwZItDMU+vz7l6j00ntyucgVqfr0966DchpKrvcnvVJ4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715875967; c=relaxed/simple; bh=EDVDStN9akIll0ya820KZNeIn7ir4olgOtXijBH6aOg=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=tup+S8XS3O+VVF3QsXv+NoYJZVicyO9js13y3YCTmAhSDe9hF4MecUb4TdUVAZSnU1wLVHzZt1tQ3+LnzbkY7/aB/LSgej0iyXOoHYXIhBc/pSMjPkhIP4nWI6T2iPE/bzIeggp4lh/KA/YQ8llK7jTeXpvrtSdMu9qMVTVegno= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=QQz9+USn; arc=none smtp.client-ip=209.85.160.176 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-qt1-f176.google.com with SMTP id d75a77b69052e-43e1581e81cso31459781cf.3 for ; Thu, 16 May 2024 09:12:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715875965; x=1716480765; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=EDVDStN9akIll0ya820KZNeIn7ir4olgOtXijBH6aOg=; b=QQz9+USnTDYFWNZgI5ivdSAACTsh/KANVCTKfAUvb8ou3ZMgq8UMHdkKlxvbl1KYCU 4VRCY7BfWZST0A0K/DTZkxdekHb7sPlX6gcSTmNIjGkhAyfXvRmL0RfAlLCyCag9ip0Q jR1MEq9v5mQpoFV/cpTkrQNy7nHGuRw4KEFaE8oRZ9eDSfFSf7Y/oaaV8DIzqWpt5oiW LEZXU8nXTd4k/+mPxwqRoRhCmRdgPAX4rWX+CGRRBDP9Ne/07ZPg8r6X3+IrpkrRntML /BR71trOPmQEX1941Ky1+MligW8dMiOoXJxmESoRNJrd7tJzWkkZ5OdKuXD3hq/vO6Oq oPLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715875965; x=1716480765; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=EDVDStN9akIll0ya820KZNeIn7ir4olgOtXijBH6aOg=; b=PlVIZfZ9BA4Ve7X6EiAe3llsrZlrTlGPTal0mdxs+qrMJQBSb9w9VvO7hcgdqtoM5n 68KukHdCJ/OqX0gVTZp1mK204IBWsSSfZcirv+TMv+Moa7snJmtPMCGkbIjs9QJKcWKW dMG1qtWqpZ2naMVWqHlYcOm/LDfosj3fn0pH2tYLYX/KgPqUjMGkFx2v01PE2eLoFwbn 8kxSLk7J3qudDh435y31u69GO6kwHc8oNuGcVjEm9wBtGDt/6ykZ9bSTFQ6BBMv72tlV 1Hxadaf/gR9jOp15qs4H472nvyODrgSzh86uzowClFS/cAvzdDotC0cryUuJ7TzU9uev xYbA== X-Forwarded-Encrypted: i=1; AJvYcCUYNR/4X5Rvo+t2mN6mH/MgQobovckuDUvPnxaPY9+uq32UDr3ZBd+S1T7GEQxqnLs0OPRD8ExjGXwxOa9wj1ECBk7voKer44BfF76C X-Gm-Message-State: AOJu0YxSHYCBhwdf2FLj6AkaYkMvI96FJKtD8zeqVlf45ebeblZYDQvA 0O6qhks9xfD3JsODhvAd30nJn3ORIUmDrZD51jJytFsMEr91KnATDOXviiDZX0TLDXFp6s+SjEm Wspwm5zuZXV82j08fusz1QSW1Kdk= X-Received: by 2002:ac8:7c45:0:b0:43a:ffa5:3f24 with SMTP id d75a77b69052e-43dfdba9604mr246255961cf.58.1715875965116; Thu, 16 May 2024 09:12:45 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240516075628.GC22557@noisy.programming.kicks-ass.net> <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> In-Reply-To: From: Yun Levi Date: Thu, 16 May 2024 17:12:33 +0100 Message-ID: Subject: Re: [PATCH v4] time/tick-sched: idle load balancing when nohz_full cpu becomes idle. To: Frederic Weisbecker Cc: Peter Zijlstra , 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 Content-Type: text/plain; charset="UTF-8" > > 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... But I wonder when nohz_full cpu enters *idle". If the cpuidle governor selects an idle state which wants "stop_tick", If nohz_full cpu is still in sched domain, should it disable tick or not?