rpms/kernel/devel quiet-prove_RCU-in-cgroups.patch, NONE, 1.1 kernel.spec, 1.2006, 1.2007

Kyle McMartin kyle at fedoraproject.org
Tue Jun 1 12:51:31 UTC 2010


Author: kyle

Update of /cvs/pkgs/rpms/kernel/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv25509

Modified Files:
	kernel.spec 
Added Files:
	quiet-prove_RCU-in-cgroups.patch 
Log Message:
* Tue Jun 01 2010 Kyle McMartin <kyle at redhat.com> 2.6.34-16
- quiet-prove_RCU-in-cgroups.patch: shut RCU lockdep up
  as in 8b08ca52f5942c21564bbb90ccfb61053f2c26a1.


quiet-prove_RCU-in-cgroups.patch:
 softlockup.c |    2 ++
 1 file changed, 2 insertions(+)

--- NEW FILE quiet-prove_RCU-in-cgroups.patch ---
diff --git a/kernel/softlockup.c b/kernel/softlockup.c
index 4b493f6..ada1fcd 100644
--- a/kernel/softlockup.c
+++ b/kernel/softlockup.c
@@ -187,7 +187,9 @@ static int watchdog(void *__bind_cpu)
 {
 	struct sched_param param = { .sched_priority = MAX_RT_PRIO-1 };
 
+	rcu_read_lock();
 	sched_setscheduler(current, SCHED_FIFO, &param);
+	rcu_read_unlock();
 
 	/* initialize timestamp */
 	__touch_softlockup_watchdog();


Index: kernel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/devel/kernel.spec,v
retrieving revision 1.2006
retrieving revision 1.2007
diff -u -p -r1.2006 -r1.2007
--- kernel.spec	1 Jun 2010 10:22:20 -0000	1.2006
+++ kernel.spec	1 Jun 2010 12:51:29 -0000	1.2007
@@ -774,6 +774,8 @@ Patch12020: coredump-uid-pipe-check.patc
 
 Patch12030: ssb_check_for_sprom.patch
 
+Patch12035: quiet-prove_RCU-in-cgroups.patch
+
 %endif
 
 BuildRoot: %{_tmppath}/kernel-%{KVERREL}-root
@@ -1385,6 +1387,8 @@ ApplyPatch iwlwifi-recalculate-average-t
 ApplyPatch iwlwifi-fix-internal-scan-race.patch
 ApplyPatch iwlwifi-recover_from_tx_stall.patch
 
+ApplyPatch quiet-prove_RCU-in-cgroups.patch
+
 # END OF PATCH APPLICATIONS
 
 %endif
@@ -2045,6 +2049,10 @@ fi
 #                 ||     ||
 
 %changelog
+* Tue Jun 01 2010 Kyle McMartin <kyle at redhat.com> 2.6.34-16
+- quiet-prove_RCU-in-cgroups.patch: shut RCU lockdep up
+  as in 8b08ca52f5942c21564bbb90ccfb61053f2c26a1.
+
 * Tue Jun 01 2010 Kyle McMartin <kyle at redhat.com>
 - disable radeon_pm for now.
 



More information about the scm-commits mailing list