From nobody Mon Feb 9 12:00:54 2026 Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) (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 424283A1D1A for ; Wed, 21 Jan 2026 16:28:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=90.155.50.34 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769012890; cv=none; b=aStWKZGjDG4e94G8Q+eBC/KqVHaVe7gDm8u9SdaqyXZHaWf6I731eOObESONaCyKdoTXjKsTLMmHKnrKS/Uw/eWzPPMMWz/zVts2zfMIK6LVlLbvupqxhiwKQvFQavDoskAYkXUGe7CyHAgIuVXcLUIzeeHE1VMd4p94t4xBKMY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769012890; c=relaxed/simple; bh=qkWIvC5GwgaCPs1KjymcOs1WLgj1KHKSDopczLfSVD8=; h=Message-ID:Date:From:To:Cc:Subject:References:MIME-Version: Content-Type; b=irO6TIXZ1UVmuafNihHgilJAmqu40m0OstQa063L7u2ANi430TeF1xSDNX3kjbwrHkIPmIcP4OOucZPxqZVEQIt4I08i8NYD6WHpY/xiikZIHi4mf68Ig56ux0euFIYP1qZqHYsp5D8GV/m4p5gylqCtujLZeTL6/FrnMy+6F90= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=uSEwv/s1; arc=none smtp.client-ip=90.155.50.34 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="uSEwv/s1" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Type:MIME-Version:References: Subject:Cc:To:From:Date:Message-ID:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:In-Reply-To; bh=xPO0n8B2n6nloFv0JZaHWBUWZ7CNQc+G/tnspEAUovg=; b=uSEwv/s1MmQf/Na3DYCflZgqDN cucndpjC1NqdjNeOML9YNOKJuoWIASZWrUpvi0Fi0Q29cTdzs5N+TtewnGRYMGipprDwx5AwzG66I JXjnfskPyPJMPCyUdSNPZXv4l54CxvuDa21OLn7ps67YXaJwSh+DDJ3WfhZMKxMwSHyOKUPxdCX2b wNtY8yZmat2m34qmMJZr4O/REXfh9nR98xuM1pHVGqQmjvQgsGfR2XHRXjpB1INeurhOXf5sMnc+Q /sa/WyFYQ/q/f2Dgzgy55rAzlXIpormC0i0GxFlEnYE+bHibJ1Xsz3MHHfRDhy7GDfCAdz2fG1snZ j/uXBVVQ==; Received: from 77-249-17-252.cable.dynamic.v4.ziggo.nl ([77.249.17.252] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.98.2 #2 (Red Hat Linux)) id 1vib3l-0000000GawY-2qEl; Wed, 21 Jan 2026 16:27:57 +0000 Received: by noisy.programming.kicks-ass.net (Postfix, from userid 0) id EB134300E7E; Wed, 21 Jan 2026 17:27:55 +0100 (CET) Message-ID: <20260121162508.119040984@infradead.org> User-Agent: quilt/0.68 Date: Wed, 21 Jan 2026 17:20:16 +0100 From: Peter Zijlstra To: tglx@linutronix.de Cc: arnd@arndb.de, anna-maria@linutronix.de, frederic@kernel.org, peterz@infradead.org, luto@kernel.org, mingo@redhat.com, juri.lelli@redhat.com, vincent.guittot@linaro.org, dietmar.eggemann@arm.com, rostedt@goodmis.org, bsegall@google.com, mgorman@suse.de, vschneid@redhat.com, linux-kernel@vger.kernel.org, oliver.sang@intel.com Subject: [PATCH v2 6/6] sched: Default enable HRTICK References: <20260121162010.647043073@infradead.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" ... 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) --- kernel/sched/features.h | 5 +++++ 1 file changed, 5 insertions(+) --- 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 TIF_HRTIMER_REARM +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