lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20260121222444.GA1370038@pauld.westford.csb>
Date: Wed, 21 Jan 2026 17:24:44 -0500
From: Phil Auld <pauld@...hat.com>
To: Peter Zijlstra <peterz@...radead.org>
Cc: tglx@...utronix.de, arnd@...db.de, anna-maria@...utronix.de,
	frederic@...nel.org, luto@...nel.org, mingo@...hat.com,
	juri.lelli@...hat.com, vincent.guittot@...aro.org,
	dietmar.eggemann@....com, rostedt@...dmis.org, bsegall@...gle.com,
	mgorman@...e.de, vschneid@...hat.com, linux-kernel@...r.kernel.org,
	oliver.sang@...el.com
Subject: Re: [PATCH v2 6/6] sched: Default enable HRTICK

Hi Peter,

On Wed, Jan 21, 2026 at 05:20:16PM +0100 Peter Zijlstra wrote:
> ... 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) <peterz@...radead.org>
> ---
>  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)
>  
> +#ifdef TIF_HRTIMER_REARM
> +SCHED_FEAT(HRTICK, true)
> +SCHED_FEAT(HRTICK_DL, true)
> +#else
>  SCHED_FEAT(HRTICK, false)
>  SCHED_FEAT(HRTICK_DL, false)
> +#endif

I maybe be missing something. But the title of this patch
and the above code do not seem to match.


Cheers,
Phil

>  
>  /*
>   * Decrement CPU capacity based on time not spent running tasks
> 
> 
> 

-- 


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ