[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250812-hrtimer-cleanup-get_time-v1-0-b962cd9d9385@linutronix.de>
Date: Tue, 12 Aug 2025 08:08:08 +0200
From: Thomas Weißschuh <thomas.weissschuh@...utronix.de>
To: Anna-Maria Behnsen <anna-maria@...utronix.de>,
Frederic Weisbecker <frederic@...nel.org>,
Thomas Gleixner <tglx@...utronix.de>, Ingo Molnar <mingo@...hat.com>,
Peter Zijlstra <peterz@...radead.org>, 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>
Cc: linux-kernel@...r.kernel.org, linux-sound@...r.kernel.org,
linux-media@...r.kernel.org,
Thomas Weißschuh <thomas.weissschuh@...utronix.de>
Subject: [PATCH 0/8] hrtimer: Remove hrtimer_clock_base::get_time
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(-)
---
base-commit: 8f5ae30d69d7543eee0d70083daf4de8fe15d585
change-id: 20250728-hrtimer-cleanup-get_time-8ac9d797a685
Best regards,
--
Thomas Weißschuh <thomas.weissschuh@...utronix.de>
Powered by blists - more mailing lists