summaryrefslogtreecommitdiff
path: root/scripts/kconfig/icons/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@kernel.org>2026-04-08 13:53:52 +0200
committerThomas Gleixner <tglx@kernel.org>2026-05-01 21:36:11 +0200
commitb40c927345a91e687eac4c3c5ca03a99643cd0c4 (patch)
treea78b6714b8f4ea9d2ef42191073a9654a6b3c8e8 /scripts/kconfig/icons/git@git.tavy.me:linux.git
parentbd5956166d20adbde3af0f6f265dc2f0ce5f4df9 (diff)
hrtimer: Use hrtimer_start_expires_user() for hrtimer sleepers
Most hrtimer sleepers are user controlled and user space can hand arbitrary expiry values in as long as they are valid timespecs. If the expiry value is in the past then this requires a full loop through reprogramming the clock event device, taking the hrtimer interrupt, waking the task and reprogram again. Use hrtimer_start_expires_user() which avoids the full round trip by checking the timer for expiry on enqueue. Signed-off-by: Thomas Gleixner <tglx@kernel.org> Tested-by: Calvin Owens <calvin@wbinvd.org> Reviewed-by: Frederic Weisbecker <frederic@kernel.org> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://patch.msgid.link/20260408114952.062400833@kernel.org
Diffstat (limited to 'scripts/kconfig/icons/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions