diff options
author | Steven Rostedt <rostedt@goodmis.org> | 2014-04-30 00:13:08 (GMT) |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2014-05-14 18:39:00 (GMT) |
commit | 61b4dcfedfffa3f36c3fd76fb414c67b5e3c960d (patch) | |
tree | 15fabd88dd3246f4dbccb340f9e42aca7cdeaae1 /drivers/net | |
parent | cc675d61b71c7d43bdb30026b9c99bdebb595cf8 (diff) | |
download | linux-fsl-qoriq-61b4dcfedfffa3f36c3fd76fb414c67b5e3c960d.tar.xz |
rt: Move migrate_disable up in trylocks
The changes to move the migrate_disable() down in the trylocks()
caused race conditions to appear in the cpu hotplug code. The
migrate disables must be done before any of the rtmutexes are
taken, otherwise a lock may be held that prevents hotplug from
moving forward.
Link: http://lkml.kernel.org/r/20140429201308.63292691@gandalf.local.home
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Cc: Mike Galbraith <umgwanakikbuti@gmail.com>
Cc: Nicholas Mc Guire <der.herr@hofr.at>
Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Cc: linux-rt-users <linux-rt-users@vger.kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: John Kacur <jkacur@redhat.com>
Cc: Clark Williams <williams@redhat.com>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions