Commit cff100f5 authored by Linus Torvalds's avatar Linus Torvalds

Merge tag 'trace-rb-bm-fix-4.1-rc7' of...

Merge tag 'trace-rb-bm-fix-4.1-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace

Pull ring buffer benchmark buglet fix from Steven Rostedt:
 "Wang Long fixed a minor bug in the module parameter for the ring
  buffer benchmark, where the produce_fifo was being ignored and the
  producer thread's priority was being set with the consumer_fifo
  parameter"

* tag 'trace-rb-bm-fix-4.1-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace:
  ring-buffer-benchmark: Fix the wrong sched_priority of producer
parents 2bfc60dd 10802932
...@@ -450,7 +450,7 @@ static int __init ring_buffer_benchmark_init(void) ...@@ -450,7 +450,7 @@ static int __init ring_buffer_benchmark_init(void)
if (producer_fifo >= 0) { if (producer_fifo >= 0) {
struct sched_param param = { struct sched_param param = {
.sched_priority = consumer_fifo .sched_priority = producer_fifo
}; };
sched_setscheduler(producer, SCHED_FIFO, &param); sched_setscheduler(producer, SCHED_FIFO, &param);
} else } else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment