Files
android_kernel_samsung_msm8…/kernel
Leonid Shatz db150a413e hrtimer: Prevent hrtimer_enqueue_reprogram race
hrtimer_enqueue_reprogram contains a race which could result in
timer.base switch during unlock/lock sequence.

hrtimer_enqueue_reprogram is releasing the lock protecting the timer
base for calling raise_softirq_irqsoff() due to a lock ordering issue
versus rq->lock.

If during that time another CPU calls __hrtimer_start_range_ns() on
the same hrtimer, the timer base might switch, before the current CPU
can lock base->lock again and therefor the unlock_timer_base() call
will unlock the wrong lock.

[ tglx: Added comment and massaged changelog ]

Change-Id: I327d862c28f24b77a62861764393c4bf660a7318
Signed-off-by: Leonid Shatz <leonid.shatz@ravellosystems.com>
Signed-off-by: Izik Eidus <izik.eidus@ravellosystems.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: stable@vger.kernel.org
Link: http://lkml.kernel.org/r/1359981217-389-1-git-send-email-izik.eidus@ravellosystems.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Git-commit: b22affe0aef429d657bc6505aacb1c569340ddd2
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2013-03-29 11:25:16 +05:30
..
…
2012-06-26 10:35:13 -07:00
2012-12-03 11:37:28 -08:00
…
…
2012-04-09 13:57:52 -07:00
2012-03-28 18:30:03 +01:00
…
…
2012-03-26 12:50:53 +10:30
…
2012-03-29 19:52:46 +08:00
2012-03-23 16:58:41 -07:00
…
2012-03-28 18:30:03 +01:00
2011-10-31 17:30:44 -07:00
2011-12-21 12:57:40 -08:00
2012-03-15 18:17:55 -07:00
…