public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] sched/rt: code cleanup, remove a redundant function call
@ 2011-11-29  3:03 Shan Hai
  2011-11-29  3:03 ` [PATCH 1/1] " Shan Hai
  0 siblings, 1 reply; 6+ messages in thread
From: Shan Hai @ 2011-11-29  3:03 UTC (permalink / raw)
  To: linux-kernel; +Cc: peterz, mingo, tglx


Calls the sched_rt_runtime twice in the sched_rt_runtime_exceeded, and the
second time call is not necessary, because the value of the rt_runtime was
alreay read and rt_runtimer itself was protected by the rt_runtime_lock.

---
 kernel/sched_rt.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-12-06  9:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-29  3:03 [PATCH 0/1] sched/rt: code cleanup, remove a redundant function call Shan Hai
2011-11-29  3:03 ` [PATCH 1/1] " Shan Hai
2011-11-29  6:53   ` Kamalesh Babulal
2011-11-29 13:17   ` Peter Zijlstra
2011-11-30  2:35     ` Shan Hai
2011-12-06  9:52   ` [tip:sched/core] sched/rt: Code " tip-bot for Shan Hai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox