All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20081204154341.21712.37469.stgit@dev.haskins.net>

diff --git a/a/1.txt b/N1/1.txt
index 5c61880..a7d5e01 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -74,3 +74,16 @@ index 1bbd990..fb1d4d7 100644
  
 -	if (rt_rq->highest_prio != highest_prio) {
 -		struct rq *rq = rq_of_rt_rq(rt_rq);
+-
+-		if (rq->online)
+-			cpupri_set(&rq->rd->cpupri, rq->cpu,
+-				   rt_rq->highest_prio);
+-	}
++	if (rq->online && rt_rq->highest_prio != highest_prio)
++		cpupri_set(&rq->rd->cpupri, rq->cpu, rt_rq->highest_prio);
+ 
+-	update_rt_migration(rq_of_rt_rq(rt_rq));
++	update_rt_migration(rq);
+ #endif /* CONFIG_SMP */
+ #ifdef CONFIG_RT_GROUP_SCHED
+ 	if (rt_se_boosted(rt_se))
diff --git a/a/content_digest b/N1/content_digest
index 406a1cc..d8f7495 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -85,6 +85,19 @@
  "-\t}\n"
  " \n"
  "-\tif (rt_rq->highest_prio != highest_prio) {\n"
- "-\t\tstruct rq *rq = rq_of_rt_rq(rt_rq);"
+ "-\t\tstruct rq *rq = rq_of_rt_rq(rt_rq);\n"
+ "-\n"
+ "-\t\tif (rq->online)\n"
+ "-\t\t\tcpupri_set(&rq->rd->cpupri, rq->cpu,\n"
+ "-\t\t\t\t   rt_rq->highest_prio);\n"
+ "-\t}\n"
+ "+\tif (rq->online && rt_rq->highest_prio != highest_prio)\n"
+ "+\t\tcpupri_set(&rq->rd->cpupri, rq->cpu, rt_rq->highest_prio);\n"
+ " \n"
+ "-\tupdate_rt_migration(rq_of_rt_rq(rt_rq));\n"
+ "+\tupdate_rt_migration(rq);\n"
+ " #endif /* CONFIG_SMP */\n"
+ " #ifdef CONFIG_RT_GROUP_SCHED\n"
+ " \tif (rt_se_boosted(rt_se))"
 
-cb0f617a0d0aed5d220ae07afe993596cef5717d3d71806af9ffdb1f68eb95b6
+115b38ae494d639b36c06a26d935e85b59b5b0e521e2e33793b6f865f24f0468

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.