diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2010-04-06 16:51:31 +0200 |
---|---|---|
committer | Clark Williams <williams@redhat.com> | 2012-04-13 11:01:40 -0500 |
commit | 68e68e1412ccf51f4c1d76795d4f8d3a9cdc1f27 (patch) | |
tree | 33bd1faf0522f79b5a53b62fd221b12428e72dce /drivers/sh | |
parent | eb44992792e8792a74d0a5dc8fb7602259f12a9a (diff) |
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 'drivers/sh')
0 files changed, 0 insertions, 0 deletions