Received: by 2002:ab2:6991:0:b0:1f7:f6c3:9cb1 with SMTP id v17csp1022583lqo; Thu, 9 May 2024 02:22:33 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXduKdD443kpOlxT/ye8Ag64EvYGSM08/vm5T2YGV8FhUwBTOTr934PvZhmtEa63z3JUspHSNH2rkFwRZZBfnRUHGB0KNgte9pT63y2Fg== X-Google-Smtp-Source: AGHT+IEn2PJuaAewSmVDAZpO0+EPnIexy81aMF3XQp26QbARjm8XSl2KxX+EyIpbmUSDQrVMbNzJ X-Received: by 2002:a50:d4d7:0:b0:572:a6dc:45aa with SMTP id 4fb4d7f45d1cf-5731d9b5e0emr5118896a12.4.1715246553626; Thu, 09 May 2024 02:22:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715246553; cv=pass; d=google.com; s=arc-20160816; b=1D22kmZGbyG5MNOvdOMBh0NeXF3P+3aXbj8RLhhGkN6bX5mpMOxg1oF7qvLAcLsA9k 5rXHIySslU9sm1+kUgXfJ6IqosRcenRvENV/amqraZheuvJOUqEjQnfpC6pf/U+Fn+5t 64IbpGmHg6sxgECZXSGDa5ChnSS4kQs8K5HG1KB8wXDhc0/XENoVd7av5q7pkrf8S6Tw UAg3XdU2sScvjrglpcZ1JTs9uGkQRp3Ug7OjSacLUJwBlkffqw0j3Mv+LE9GOipYasL6 +XWgOlJleo2TyTNcBwC88/6ajq7GKHv107lRHkO/y76Eif06h4kNJkNVqgqxuypJc90c GTdA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=PMSC96ss4NMD2RoDgjg21x5MWAAKjQcuYtyRz+P00M8=; fh=Vd55YCrdkdPZntozq5dfWlR9ociPfOHcbDbmqJCOeiI=; b=HtPWNQxlB2Ee1L9xpvTdwSb9nzJf+1UBm966y2lVI+rbdfENBIXtjxQw5rsIMtJZf5 rervzOyRQzBUPNOniiAmRekbxhDbdqA6lqPLNyfH6PxB3LqejEP46YTTTADYisVL/DHE fZSAHFQYomw9f6aIpF0x2mzGHv1DlGh0tAqwm8dQzjEBPLY+NN2mBfyxOXJDlK+iZ0vX 0rOdldxf2fVr7ELxRHYgs4MQHNiq1siNUy0YmwyDmI70cjrRwPzDSQqoGAewaaUqLdy2 7w2H3mB7TC+3prRlZMoeFT6FavkF828SjN3Npi1ud7C+qqXpeQp4zi1sy5Y3v+3zNxsi jWRw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=exFw9P43; 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-174345-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174345-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-5733c3272b7si637900a12.398.2024.05.09.02.22.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 02:22:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-174345-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=exFw9P43; 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-174345-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174345-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 4AD9E1F22625 for ; Thu, 9 May 2024 09:22:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DCBEE14A627; Thu, 9 May 2024 09:22:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="exFw9P43" Received: from mail-qt1-f171.google.com (mail-qt1-f171.google.com [209.85.160.171]) (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 B1A3F127B54; Thu, 9 May 2024 09:22:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.171 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715246544; cv=none; b=NEcuDhayQKkP4PjhStePPZ8nTHMIPzYDuXHQYuL5MADz+8TXwel9Ic8YmE/CbVDxh8t0WY6D52lZDDz1E7xlGeJykjwzgznDRf0qdmshEgwozoxbdfdpyYKdbdGbvrOCU6g4yzjPLUxIEAR91VXOiwF+vly+RAbH3dpkumH7i1E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715246544; c=relaxed/simple; bh=qCW6djtPf0oxkmETgj00Kr+81wYTNJ9Is5zK5I+UC6Q=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=ITAbypoYhVykAAGxIqi0TYovLIr1ZTl0mPU//G6RwJzqLO69zGBSc/HUKA5/hVL5qnowXPa8GsAxvOde8jhImBoHdc+7pPRwoosCDnuy0V1xMIwV7K7xpvoO1a5SR3TPh3LP6I9YeDFuy3V8GleYpLCqPU9Rt+dQYpOJ4SXw7nY= 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=exFw9P43; arc=none smtp.client-ip=209.85.160.171 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-f171.google.com with SMTP id d75a77b69052e-43ae2a44963so2488591cf.3; Thu, 09 May 2024 02:22:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715246541; x=1715851341; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=PMSC96ss4NMD2RoDgjg21x5MWAAKjQcuYtyRz+P00M8=; b=exFw9P43MIuz1c3jvJ86TcbKKyfLoFQsVlwM95SSDykpPnO8d4VrL1NTeuKMwDnnD0 3P+H05/HTJfLz92PmNSkoH0bvHGnINqtZRUmWZgYYvBaTC7YXMHPiV6QGhGx5eLOMCEh Pngufhv2OkRmdenwmaiBNU13XJQLdJIOIJqJy9Fu5ttGbU07xed+EtpvA6FBPbVip/2P 5oULMrpjFjpbKb28ymTqtYzSwO/e93HXgctqaBrrEbAnIuGJguR0+tb38Yn4su8/46+e PHUKvBq5g57vclYm7y3ewb4Wb/RxmUh1o6uEqo+KVXKvWd88I8/UvvAmdS6ola/3sfZ6 r1PQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715246541; x=1715851341; h=content-transfer-encoding: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=PMSC96ss4NMD2RoDgjg21x5MWAAKjQcuYtyRz+P00M8=; b=WwrYi/s/G182/MCNlR5f9MlBVpVKoOGOuCiwq1PzDlwQ+p5C+zPi0SU+G/QEl9Z9lN 4sCv4/yzQTya/I3z1HjUXK99OPKK1mMM5GsuOKHGA7ZPQ1gmWTewbmxmIenp+cp6iVg+ EA/MSXtIysjLP/Txpoj+9XHvT2k1l+qUgwfN9xM3s+mwaT3dNIgmWUqvrTn3VQkQQKTF sLWLmgF4qvmAVdgV212bPTa+sIgw8r96nUcNIDj6jDunP9MnphSSIeyblDWlNCBTX01Y 9U80s4eDLQ9bDJHPcZy6TF4Afu7YJtqv8mWllnEbMLAmdsGSDSnMstqad+63Gs0uHBDi uWCw== X-Forwarded-Encrypted: i=1; AJvYcCWbfARPWoefhGtbnOywlLsP7FffQq2kbhBWQaQ9Blt6kCur3HWDQSIIjzTSMaszmb5BPFBCDGhsBwHQ2VzC4lPglcgZiHSxmNenzavw X-Gm-Message-State: AOJu0YxnpOtOpe0uBbSNH8oAxjyA/d8c+vZCcGOfaivvNnvVuWxK6B/q QyE5prMdWIen3o8kvETDIJi1X6PyCMvxq4ked6UAPd1ciX5OXslmqqGv35y/RuRnC/qi+oA0/gd MAp4q3mPjDiKTU/AnNyAlJXu2SNF/2Zfs X-Received: by 2002:a05:622a:1a2a:b0:43d:f946:faed with SMTP id d75a77b69052e-43df946fd44mr2033401cf.26.1715246541550; Thu, 09 May 2024 02:22:21 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240508172621.30069-1-ppbuk5246@gmail.com> <20240508192213.31050-1-ppbuk5246@gmail.com> <5886464d-a867-471e-858e-b4ed732a1d76@web.de> In-Reply-To: <5886464d-a867-471e-858e-b4ed732a1d76@web.de> From: Yun Levi Date: Thu, 9 May 2024 10:22:10 +0100 Message-ID: Subject: Re: [PATCH v3] time/tick-sched: idle load balancing when nohz_full cpu becomes idle. To: Markus Elfring Cc: kernel-janitors@vger.kernel.org, Anna-Maria Behnsen , Frederic Weisbecker , Ingo Molnar , Thomas Gleixner , LKML Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Markus. . > * Will any other data representation become more helpful for the circumst= ances > according to calls of a function like =E2=80=9Ctick_nohz_idle_stop_tick= =E2=80=9D? Maybe not in this commit..? > * How do you think about stress condition ordering concerns around > the system configuration =E2=80=9Cnohz_full=E2=80=9D? Well.. regardless of the stress condition, it wants to fix the inconsistent behavior happening when enter "idle state" Let's think about two cases: 1. nohz_full cpu stop tick in tick_nohz_irq_exiit() while it runs only 1 cfs task. 2. nohz_full cpu which doesn't stop the tick and switches to idle task= . Without this commit, case (1) wouldn't participate in idle balance when it switches to idle task while its tick is already stopped. case (2) although nohz_full cpu participates in idle balcancing because former clock isn't stopped yet. > * How will related changelogs evolve further? > Thanks for the suggestion. But I'll add some more background commit message then. Thanks again :)