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] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250812074306.GD4067720@noisy.programming.kicks-ass.net>
Date: Tue, 12 Aug 2025 09:43:06 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: Thomas Weißschuh <thomas.weissschuh@...utronix.de>
Cc: Anna-Maria Behnsen <anna-maria@...utronix.de>,
	Frederic Weisbecker <frederic@...nel.org>,
	Thomas Gleixner <tglx@...utronix.de>,
	Ingo Molnar <mingo@...hat.com>, Juri Lelli <juri.lelli@...hat.com>,
	Vincent Guittot <vincent.guittot@...aro.org>,
	Dietmar Eggemann <dietmar.eggemann@....com>,
	Steven Rostedt <rostedt@...dmis.org>,
	Ben Segall <bsegall@...gle.com>, Mel Gorman <mgorman@...e.de>,
	Valentin Schneider <vschneid@...hat.com>,
	Matt Wu <wuqiang.matt@...edance.com>,
	Andrew Morton <akpm@...ux-foundation.org>,
	Jaroslav Kysela <perex@...ex.cz>, Takashi Iwai <tiwai@...e.com>,
	Sean Young <sean@...s.org>,
	Mauro Carvalho Chehab <mchehab@...nel.org>,
	Jan Kiszka <jan.kiszka@...mens.com>,
	Kieran Bingham <kbingham@...nel.org>, linux-kernel@...r.kernel.org,
	linux-sound@...r.kernel.org, linux-media@...r.kernel.org
Subject: Re: [PATCH 0/8] hrtimer: Remove hrtimer_clock_base::get_time

On Tue, Aug 12, 2025 at 08:08:08AM +0200, Thomas Weißschuh wrote:
> The get_time() callbacks always need to match the bases clockid.
> Instead of maintaining that association twice in hrtimer_bases,
> use a helper.
> 
> Signed-off-by: Thomas Weißschuh <thomas.weissschuh@...utronix.de>
> ---
> Thomas Weißschuh (8):
>       posix-timers: Avoid direct access to hrtimer clockbase
>       timers/itimer: Avoid direct access to hrtimer clockbase
>       sched/core: Avoid direct access to hrtimer clockbase
>       lib: test_objpool: Avoid direct access to hrtimer clockbase
>       ALSA: hrtimer: Avoid direct access to hrtimer clockbase
>       media: pwm-ir-tx: Avoid direct access to hrtimer clockbase
>       hrtimer: Use hrtimer_cb_get_time() helper
>       hrtimer: Remove hrtimer_clock_base::get_time
> 
>  drivers/media/rc/pwm-ir-tx.c   |  5 +----
>  include/linux/hrtimer.h        | 14 +++++---------
>  include/linux/hrtimer_defs.h   |  2 --
>  kernel/sched/core.c            |  2 +-
>  kernel/time/hrtimer.c          | 34 +++++++++++++++++++++++++---------
>  kernel/time/itimer.c           |  3 +--
>  kernel/time/posix-timers.c     |  5 ++---
>  kernel/time/timer_list.c       |  2 --
>  lib/test_objpool.c             |  2 +-
>  scripts/gdb/linux/timerlist.py |  2 --
>  sound/core/hrtimer.c           |  2 +-
>  11 files changed, 37 insertions(+), 36 deletions(-)

Acked-by: Peter Zijlstra (Intel) <peterz@...radead.org>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ