Skip to contentSkip to conversation

Patch "ring-buffer-benchmark: Fix the wrong sched_priority of producer" has been added to the 4.0-stable tree

PATCH [email protected] 1 participant 1 message Jun 19, 2015

Subsystems (3)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

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 4.0-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-4.0 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From 108029323910c5dd1ef8fa2d10da1ce5fbce6e12 Mon Sep 17 00:00:00 2001

From: Wang Long <[email protected]>
Date: Wed, 10 Jun 2015 08:12:37 +0000
Subject: ring-buffer-benchmark: Fix the wrong sched_priority of producer

From: Wang Long <[email protected]>

commit 108029323910c5dd1ef8fa2d10da1ce5fbce6e12 upstream.

The producer should be used producer_fifo as its sched_priority, so correct it.

---
 kernel/trace/ring_buffer_benchmark.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/trace/ring_buffer_benchmark.c +1 -1
@@ -450,7 +450,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, &param);
 	} else

Patches currently in stable-queue which might be from [email protected] are

queue-4.0/ring-buffer-benchmark-fix-the-wrong-sched_priority-of-producer.patch --
To unsubscribe from this list: send the line "unsubscribe stable" in