]> www.infradead.org Git - users/jedix/linux-maple.git/commit
posix-timers: Simplify lock/unlock_timer()
authorThomas Gleixner <tglx@linutronix.de>
Sat, 8 Mar 2025 16:48:30 +0000 (17:48 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 13 Mar 2025 11:07:17 +0000 (12:07 +0100)
commit50f53b23f1e3fae071381af9a15ac1028c4efc42
treea1451fd37c4962e6f67bdbcd12a366bbde7d8f33
parenta31a300c4daba82b14eb77179b0b6fc729b9bad5
posix-timers: Simplify lock/unlock_timer()

Since the integration of sigqueue into the timer struct, lock_timer() is
only used in task context. So taking the lock with irqsave() is not longer
required.

Convert it to use spin_[un]lock_irq().

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Frederic Weisbecker <frederic@kernel.org>
Link: https://lore.kernel.org/all/20250308155623.959825668@linutronix.de
kernel/time/posix-timers.c