* Patch "ring-buffer-benchmark: Fix the wrong sched_priority of producer" has been added to the 3.14-stable tree
@ 2015-06-19 19:44 gregkh
0 siblings, 0 replies; only message in thread
From: gregkh @ 2015-06-19 19:44 UTC (permalink / raw)
To: long.wanglong, gregkh, rostedt; +Cc: stable, stable-commits
This is a note to let you know that I've just added the patch titled
ring-buffer-benchmark: Fix the wrong sched_priority of producer
to the 3.14-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
ring-buffer-benchmark-fix-the-wrong-sched_priority-of-producer.patch
and it can be found in the queue-3.14 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@vger.kernel.org> know about it.
>From 108029323910c5dd1ef8fa2d10da1ce5fbce6e12 Mon Sep 17 00:00:00 2001
From: Wang Long <long.wanglong@huawei.com>
Date: Wed, 10 Jun 2015 08:12:37 +0000
Subject: ring-buffer-benchmark: Fix the wrong sched_priority of producer
From: Wang Long <long.wanglong@huawei.com>
commit 108029323910c5dd1ef8fa2d10da1ce5fbce6e12 upstream.
The producer should be used producer_fifo as its sched_priority,
so correct it.
Link: http://lkml.kernel.org/r/1433923957-67842-1-git-send-email-long.wanglong@huawei.com
Signed-off-by: Wang Long <long.wanglong@huawei.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
kernel/trace/ring_buffer_benchmark.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/kernel/trace/ring_buffer_benchmark.c
+++ b/kernel/trace/ring_buffer_benchmark.c
@@ -455,7 +455,7 @@ static int __init ring_buffer_benchmark_
if (producer_fifo >= 0) {
struct sched_param param = {
- .sched_priority = consumer_fifo
+ .sched_priority = producer_fifo
};
sched_setscheduler(producer, SCHED_FIFO, ¶m);
} else
Patches currently in stable-queue which might be from long.wanglong@huawei.com are
queue-3.14/ring-buffer-benchmark-fix-the-wrong-sched_priority-of-producer.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-06-19 19:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-19 19:44 Patch "ring-buffer-benchmark: Fix the wrong sched_priority of producer" has been added to the 3.14-stable tree gregkh
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).