From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f47.google.com (mail-wm1-f47.google.com [209.85.128.47]) (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 5A34326299 for ; Mon, 26 Jan 2026 19:32:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769455967; cv=none; b=LANLR8xaQUWFKMP2RVmM7lP6Ith0YGdrNoZ371uKMXDrA1aaiC3XxXD2yMwNz0duhXVKSbM6StvEFBGwUJeoGY3BwI9Obetg5r0QOVZN8dSOQqJn0k7eZoxTMijOJFYyAetgyc2UmBH7z6t1qQxvCGfI+jAS3pjSt9yj08VK4eI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769455967; c=relaxed/simple; bh=jAvEUUCdYmA/ax9eihzX/czDSG6pVphW89TI0VK8Et0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=a6vRQbRFLVMPrZa3WCkSNVmrHSGQ1ymauqqIVkDtazjfy4Zy7E/qFcm7Hp5lseyBjBEHBVyvnXepqgadw6pC0IZEqwKUfjO/bMxh4wJdgQ2y+xukjCPI98xnDyFeSwQ59gWmNChP7DUI995WgL66X/nBgYxwohjHq9pEw0/+TSA= 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=FrCsPW7k; arc=none smtp.client-ip=209.85.128.47 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="FrCsPW7k" Received: by mail-wm1-f47.google.com with SMTP id 5b1f17b1804b1-47ee0291921so41779565e9.3 for ; Mon, 26 Jan 2026 11:32:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1769455965; x=1770060765; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=jAvEUUCdYmA/ax9eihzX/czDSG6pVphW89TI0VK8Et0=; b=FrCsPW7kK87T8X7EQ3nGhTAs7Hcx/Ef+5HkRZZtgO5SzmPz4Z+QuGIwM8emPLqAV8H iwqHhj1Itq8PaK2542HB/LSkgziW9Qx3JDBPhuW42pzceeU/u5SeDLxGYxW/8LCpYcQs BJ/ge16CXNSS9RgyieTAF9S+fkj+CkOAgtt/up2GvPqLQBJ2+RLLmWhTL+NX+e+XOHbt VWrc+Hfdse0mL2xNyGB84gSgxOAWb4oy/idLjitTQWjeFnTj8A5VCZlIjE3kNz3EjML7 IyBzH+cDSDUb/ms35A641eN1L1tuU2kYFM4jW1A49M3elZPpEKl9/G8s4is4H28Mpcyy holA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769455965; x=1770060765; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=jAvEUUCdYmA/ax9eihzX/czDSG6pVphW89TI0VK8Et0=; b=DI3LhlUj1qRh/Glzqyf42UhKocROjAugwnYBP+dpU3smUCsaJ5muj7McNfYFgSvslp zrvdGDtW53cYPG75jis7jIBnD95Mc4NyGoyA3q+yalturZfwAL2zdrXgkv+K1T03Bp09 jXwxEvh1DhbZQV8esk85gbM/r8Rm0yDCavAbjSr+tNSCMutGVNHrQejALrr0gb0Ryf6l BQ3fIxV35Ret3vsqBu1xKSbdXf9JuLQb4caW/oIMEdHTbGzZH5OBdsAHzX72teGvpl6K 5xj2UevG80R5lPjKdOM2Za3ADkwgCXvUGUlNsAsHNtIp5ifTSWjLzNZeQNW/aZ6eGXq5 0Cbw== X-Forwarded-Encrypted: i=1; AJvYcCVq6VyZfPEf9MwBaJKTtLYQCWwUhwTz2gYakEcpi4+CSuDAEyEJ8o027JMxeZ0jhZL7iiFr3gX4NJufpWY=@vger.kernel.org X-Gm-Message-State: AOJu0YyBPTqssxnTeL/YGnnJMUKVFSDz8O1qxTMAdIVusGzfTHVWQg/w 1bKvFkkaSwEpV5oMzM7NvECyxoJ0/WmKrO6+gTYnwSb305sTvM2ShovD X-Gm-Gg: AZuq6aKMpYWdOk3IIzXm1zpdiNf7khA/JZHW2kUZ0zsLCH4kLZ+Oa6f1njw9Qh5qKcb iBt3ZYEe97XZuiER3SASxRVRBxLeWCS0y0r8Y+IFqJCpT+wYThEgHzVJPJvcRdA7iZoNOnUbt0Y Lb00jIgjVNwL7gJk4UcFMCnQb2RT/vMHJTQIvEhq4jURbYCeJdu/8rggUeYaNL7hPo5KdqAwphZ uoInoUj2SvK6Wd8TfBe1dBAMWcvAOOb4aWyt64MTZpcOzVFgW1Q5RLn9dV2R1gh75XLH7EyYY3U jtQbX6ZmVGtyt9EXscIbgbZRC0Lf67K2Lv1q6iENmP5cIZvEVhJpc2pQO/mdvaYI3ABxjCSE6pR EAuo/lXv90BGV2bxJqYzddjVlucYg63JYpnzo6631Vca2IvBmbP28U5RrrkHoXSgmM1rrO5Vyw6 IVH8QNSenp8w1sjwR3FSnzfEq7EAF5Q+HEYbx+DA== X-Received: by 2002:a05:600c:3b9d:b0:47e:de23:dd6f with SMTP id 5b1f17b1804b1-4805ce42a6dmr92105325e9.12.1769455964561; Mon, 26 Jan 2026 11:32:44 -0800 (PST) Received: from ionutnechita-arz2022.local ([2a02:2f0e:c30b:500:c472:222f:bc60:d893]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-48066c10ce0sm20364015e9.14.2026.01.26.11.32.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Jan 2026 11:32:44 -0800 (PST) From: "Ionut Nechita (Sunlight Linux)" To: tglx@kernel.org Cc: anna-maria@linutronix.de, frederic@kernel.org, ionut_n2001@yahoo.com, linux-kernel@vger.kernel.org, mingo@kernel.org, sunlightlinux@gmail.com Subject: Re: [PATCH 1/1] tick/nohz: Add fast-path tick stopping for idle isolated cores Date: Mon, 26 Jan 2026 21:31:09 +0200 Message-ID: <20260126193108.6501-2-sunlightlinux@gmail.com> X-Mailer: git-send-email 2.52.0 In-Reply-To: <873449g79w.ffs@tglx> References: <20260106153646.23280-4-sunlightlinux@gmail.com> <873449g79w.ffs@tglx> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Ionut Nechita On Tue, Jan 13 2026 at 11:02, Thomas Gleixner wrote: > You can avoid the per bit evaluation way simpler, which improves the > evaluation independent of context. See uncompiled patch below. Thank you for the detailed feedback and for taking the time to review this patch. Your approach is indeed much simpler and more elegant. I see no issues with it, and it has the additional benefit of improving the evaluation regardless of context, rather than being restricted to nohz_full CPUs and the idle task. This is clearly a better solution. I appreciate the learning opportunity - working on kernel development continues to teach me new and interesting things every day. Should I prepare a v2 based on your suggestion, or would you prefer to submit this as a separate patch? Thanks again, Ionut