diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2010-04-06 14:51:31 (GMT) |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2014-04-10 00:19:22 (GMT) |
commit | a73bde4dcfa135b3611f33157755f7acc5fa7ddf (patch) | |
tree | 62c77f01280e3464344d022755565274ec267872 /kernel/futex.c | |
parent | c3429f72c9ea824c08763c389bacf245f1c74452 (diff) | |
download | linux-fsl-qoriq-a73bde4dcfa135b3611f33157755f7acc5fa7ddf.tar.xz |
md: raid5: Make raid5_percpu handling RT aware
__raid_run_ops() disables preemption with get_cpu() around the access
to the raid5_percpu variables. That causes scheduling while atomic
spews on RT.
Serialize the access to the percpu data with a lock and keep the code
preemptible.
Reported-by: Udo van den Heuvel <udovdh@xs4all.nl>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Udo van den Heuvel <udovdh@xs4all.nl>
Diffstat (limited to 'kernel/futex.c')
0 files changed, 0 insertions, 0 deletions