Skip to content

Commit b18c58a

Browse files
Davidlohr Buesorostedt
authored andcommitted
tracing/osnoise: No need for schedule_hrtimeout range
No slack time is being passed, just use schedule_hrtimeout(). Link: https://lore.kernel.org/linux-trace-kernel/20230123234649.17968-1-dave@stgolabs.net Signed-off-by: Davidlohr Bueso <dave@stgolabs.net> Acked-by: Daniel Bristot de Oliveira <bristot@kernel.org> Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
1 parent dc513fd commit b18c58a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

kernel/trace/trace_osnoise.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1539,7 +1539,7 @@ static void osnoise_sleep(void)
15391539
wake_time = ktime_add_us(ktime_get(), interval);
15401540
__set_current_state(TASK_INTERRUPTIBLE);
15411541

1542-
while (schedule_hrtimeout_range(&wake_time, 0, HRTIMER_MODE_ABS)) {
1542+
while (schedule_hrtimeout(&wake_time, HRTIMER_MODE_ABS)) {
15431543
if (kthread_should_stop())
15441544
break;
15451545
}

0 commit comments

Comments
 (0)