projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc513fd
)
tracing/osnoise: No need for schedule_hrtimeout range
author
Davidlohr Bueso
<dave@stgolabs.net>
Mon, 23 Jan 2023 23:46:49 +0000
(15:46 -0800)
committer
Steven Rostedt (Google)
<rostedt@goodmis.org>
Tue, 7 Feb 2023 17:34:11 +0000
(12:34 -0500)
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>
kernel/trace/trace_osnoise.c
patch
|
blob
|
history
diff --git
a/kernel/trace/trace_osnoise.c
b/kernel/trace/trace_osnoise.c
index 210e1f16839295b655de7d02d2620b34694212ec..04f0fdae19a1c0382d6e0ec4f415a36d86d610f7 100644
(file)
--- a/
kernel/trace/trace_osnoise.c
+++ b/
kernel/trace/trace_osnoise.c
@@
-1539,7
+1539,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;
}