* [PATCH] tracing/osnoise: No need for schedule_hrtimeout range
@ 2023-01-23 23:46 Davidlohr Bueso
2023-01-27 8:55 ` Daniel Bristot de Oliveira
0 siblings, 1 reply; 2+ messages in thread
From: Davidlohr Bueso @ 2023-01-23 23:46 UTC (permalink / raw)
To: rostedt, bristot; +Cc: dave, linux-trace-kernel
No slack time is being passed, just use schedule_hrtimeout().
Signed-off-by: Davidlohr Bueso <dave@stgolabs.net>
---
Found while looking at schedule_hrtimeout users.
kernel/trace/trace_osnoise.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/trace/trace_osnoise.c b/kernel/trace/trace_osnoise.c
index 94c1b5eb1dc0..2c1175b7d64f 100644
--- a/kernel/trace/trace_osnoise.c
+++ b/kernel/trace/trace_osnoise.c
@@ -1540,7 +1540,7 @@ static void osnoise_sleep(void)
wake_time = ktime_add_us(ktime_get(), interval);
__set_current_state(TASK_INTERRUPTIBLE);
- while (schedule_hrtimeout_range(&wake_time, 0, HRTIMER_MODE_ABS)) {
+ while (schedule_hrtimeout(&wake_time, HRTIMER_MODE_ABS)) {
if (kthread_should_stop())
break;
}
--
2.39.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-01-27 8:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-23 23:46 [PATCH] tracing/osnoise: No need for schedule_hrtimeout range Davidlohr Bueso
2023-01-27 8:55 ` Daniel Bristot de Oliveira
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).