summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@kernel.org>2026-04-08 13:54:01 +0200
committerThomas Gleixner <tglx@kernel.org>2026-05-01 21:36:12 +0200
commitcfb7fe3fdd4ca1d37da1ed15a1897d4a27c47a8a (patch)
tree0df10623b12923494bda0a8f8b5c15c7fb1c48ff /scripts
parent6fdb2677a594ab38eade927919bbd4d9688bfa1c (diff)
posix-timers: Handle the timer_[re]arm() return value
The [re]arm callbacks will return true when the timer was queued and false if it was already expired at enqueue time. In both cases the call sites can trivially queue the signal right there, when the timer was already expired. That avoids a full round trip through the hrtimer interrupt. Signed-off-by: Thomas Gleixner <tglx@kernel.org> Reviewed-by: Frederic Weisbecker <frederic@kernel.org> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://patch.msgid.link/20260408114952.198028466@kernel.org
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions