From nobody Sat Apr 18 09:33:13 2026 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (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 C4D17481640; Sat, 28 Feb 2026 15:37:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772293028; cv=none; b=fhJEgWRfN7eJubRk+aICgEF1CN2icONDBM+Ay56l0ISZjhM6GWSyuUU2b6bLtWcDVRTEuKsiZPhoN5W+kt90S72SsyLKpcTtfg5SR/XeKr4HxoMbxImAmn6lB5KuW12FOQ+M0pM5LpOLYf8HDLv1fdsIAaG1FUnepcY4OJ0St8I= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772293028; c=relaxed/simple; bh=qjcSv+34ShrU3bzBmfL/PVHYCU3dA9SThgACPLLL8mc=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=imdVkz73nITZq3CoesM09YiPTdme1eyjjvgoSsG/X4ABSvve5Cmp4JX0r0MN+rMvIi9LJjL+gvxpYeIkT3x+BagIX01OlYGwfJ4Haxj3GBKgZcPD/fvtbL1AeAi2Wt4XPg0VoAygHG7V1YJivTTWm2Ik8IF1RMwtKTlC6bp+huc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=Rgt14YBC; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=9orCZU2G; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="Rgt14YBC"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="9orCZU2G" Date: Sat, 28 Feb 2026 15:37:01 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1772293022; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=YCVmTPSNP6iEJWka88ryjsDw09cQdoAcmMioRfH1T8E=; b=Rgt14YBCuRgExr9zC7++n3TFUHcru1Kkj4c7wicXMjrdu2r7f7TbtUYCPo9Q9uVNlx269z bO513YciC+7wZ2lykskhcZx2Qk6J/ehyc5aLeXUONgM0OrcqeqDriErbtSF9i736JHhG8V aWZqZTVvkzHn1ebTenPOWAlYypitaioeY+4JCtciDaG1PrJZsENke0LswjyBwTqDDgWxrt sLq2Hrw77HQYOBrO7KjBji30Ldj8gwgyMfU94WCcSXkeRNWxNfr37zWprRg4bUf9T3zpyB S361mDvlI3CgVYJL7l1ZLWedUYlbguPEMwE/xaYdB65ykOcrXB2DAfQ7pQzvtg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1772293022; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=YCVmTPSNP6iEJWka88ryjsDw09cQdoAcmMioRfH1T8E=; b=9orCZU2GT575G29lKwVnEkd4iJX9GKUXkXWJZySr8VZIu351Ojvplv+ay8qACr1Mq52Y/8 sppSNcVCIy4ClZBg== From: "tip-bot2 for Peter Zijlstra (Intel)" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: sched/hrtick] sched/fair: Make hrtick resched hard Cc: "Peter Zijlstra (Intel)" , Thomas Gleixner , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20260224163428.933894105@kernel.org> References: <20260224163428.933894105@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <177229302120.1647592.15901387229341207962.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable The following commit has been merged into the sched/hrtick branch of tip: Commit-ID: 5d88e424ec1b3ea7f552bd14d932f510146c45c7 Gitweb: https://git.kernel.org/tip/5d88e424ec1b3ea7f552bd14d932f5101= 46c45c7 Author: Peter Zijlstra (Intel) AuthorDate: Tue, 24 Feb 2026 17:35:27 +01:00 Committer: Peter Zijlstra CommitterDate: Fri, 27 Feb 2026 16:40:04 +01:00 sched/fair: Make hrtick resched hard Since the tick causes hard preemption, the hrtick should too. Letting the hrtick do lazy preemption completely defeats the purpose, since it will then still be delayed until a old tick and be dependent on CONFIG_HZ. Signed-off-by: Peter Zijlstra (Intel) Signed-off-by: Thomas Gleixner Signed-off-by: Peter Zijlstra (Intel) Link: https://patch.msgid.link/20260224163428.933894105@kernel.org --- kernel/sched/fair.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index 0b6ce88..e9e5fe4 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -5530,7 +5530,7 @@ entity_tick(struct cfs_rq *cfs_rq, struct sched_entit= y *curr, int queued) * validating it and just reschedule. */ if (queued) { - resched_curr_lazy(rq_of(cfs_rq)); + resched_curr(rq_of(cfs_rq)); return; } #endif