From nobody Sat Apr 18 09:33:17 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 AC79F32ED2E; Sat, 28 Feb 2026 15:36:15 +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=1772292976; cv=none; b=nuuFrpGwYtvOIWp/pvU8uiWYp89kQdtJ6DghMuNG/52Jfgjo9LlJHnAQWXntU7IpAYOFv+a+fB9e41cx/L2pRlCXFHJ4i6Gh536JvimbdxsXvOEaNhrWmKFrnDMRq+zyX5CUSpgNYSXRBu2pQ9bv6I6MsNAUJ3vaxCgqPsLLBz0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772292976; c=relaxed/simple; bh=Gee+FCAqn67/flbWP2SeQWmEuKdL3wdVYy4WZixJZhU=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=cMSNr+/n+FKH7e/lsxCav8GtgPKRK1S5P+NvTZr4RFhu3SJUpGacbjse5/lI1/Rdu/915Czvwi+GW9fRQTVDn7Za3rQQEk3+lTZuUwljCTvG6e8KmSnkR1AG7Bq5jRl+IfIfpG1XJVh5HAuCTBzzeaa+p57mlSeJnRgBpGQQhu8= 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=ut2wvG1s; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=6LxU/9Yg; 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="ut2wvG1s"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="6LxU/9Yg" Date: Sat, 28 Feb 2026 15:36:11 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1772292973; 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=oMa8PRMYo9qFPU5LKR35CpPA+sDcxIdl28As8q4EiOg=; b=ut2wvG1shA3u2jZS+h5QiEPYzP9I3I50HbKf7sXC7GC6K8KgfM4C35/pAfa+3fFxVRpVGc LBxY5v939S/38c3A5Lhon7fcHNNbhaB5RHZNcCQvz33k9Qs6M3DNIcwB4EZxyOeM/mGMjK Mi2EsVQ/48IcInv6/2rIs1ytew9kr1u015LfY7i/U/7ijgVpfeLZdzk+5RrKBd4tATvlQ1 oLBH+RAYBaF5z46FUnHF3UbXxPSjQpmrHzM0hPNFIQSA5PssdibgwS6Ypzh97VJ4wB7VgA MBGNa7rccdpClhi8JdBvsGqCKh96W4KF9K3VYPEf9Dhm8M8Eo+pbC/KGnVdHaA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1772292973; 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=oMa8PRMYo9qFPU5LKR35CpPA+sDcxIdl28As8q4EiOg=; b=6LxU/9YgJmSzZ5hazE8UyGVI3mLIL9aQ2HZ4aTIQfnisHxwO5ZJnWNq/4paJrxn3/iCAnn VbiCdr3q32laaDDw== From: "tip-bot2 for Peter Zijlstra" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: sched/hrtick] sched: Default enable HRTICK when deferred rearming is enabled Cc: "Peter Zijlstra (Intel)" , Thomas Gleixner , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20260224163431.937531564@kernel.org> References: <20260224163431.937531564@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <177229297171.1647592.1629528576553596315.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: 9213aa4784cf4e63e6d8d30ba71fd61c3d110247 Gitweb: https://git.kernel.org/tip/9213aa4784cf4e63e6d8d30ba71fd61c3= d110247 Author: Peter Zijlstra AuthorDate: Tue, 24 Feb 2026 17:39:08 +01:00 Committer: Peter Zijlstra CommitterDate: Fri, 27 Feb 2026 16:40:17 +01:00 sched: Default enable HRTICK when deferred rearming is enabled The deferred rearm of the clock event device after an interrupt and and other hrtimer optimizations allow now to enable HRTICK for generic entry architectures. This decouples preemption from CONFIG_HZ, leaving only the periodic load-balancer and various accounting things relying on the tick. Signed-off-by: Peter Zijlstra (Intel) Signed-off-by: Thomas Gleixner Signed-off-by: Peter Zijlstra (Intel) Link: https://patch.msgid.link/20260224163431.937531564@kernel.org --- kernel/sched/features.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/kernel/sched/features.h b/kernel/sched/features.h index 136a658..d062284 100644 --- a/kernel/sched/features.h +++ b/kernel/sched/features.h @@ -63,8 +63,13 @@ SCHED_FEAT(DELAY_ZERO, true) */ SCHED_FEAT(WAKEUP_PREEMPTION, true) =20 +#ifdef CONFIG_HRTIMER_REARM_DEFERRED +SCHED_FEAT(HRTICK, true) +SCHED_FEAT(HRTICK_DL, true) +#else SCHED_FEAT(HRTICK, false) SCHED_FEAT(HRTICK_DL, false) +#endif =20 /* * Decrement CPU capacity based on time not spent running tasks