diff options
Diffstat (limited to 'debian/patches-rt/0231-md-raid5-Make-raid5_percpu-handling-RT-aware.patch')
-rw-r--r-- | debian/patches-rt/0231-md-raid5-Make-raid5_percpu-handling-RT-aware.patch | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/debian/patches-rt/0231-md-raid5-Make-raid5_percpu-handling-RT-aware.patch b/debian/patches-rt/0231-md-raid5-Make-raid5_percpu-handling-RT-aware.patch index 33a40d5fc..81d925b74 100644 --- a/debian/patches-rt/0231-md-raid5-Make-raid5_percpu-handling-RT-aware.patch +++ b/debian/patches-rt/0231-md-raid5-Make-raid5_percpu-handling-RT-aware.patch @@ -1,8 +1,8 @@ -From 4af1829664e98b9b3ec542a03ee30aeee8f47f6c Mon Sep 17 00:00:00 2001 +From b33f3c18470c1cadf855885a039b6918ae839364 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner <tglx@linutronix.de> Date: Tue, 6 Apr 2010 16:51:31 +0200 Subject: [PATCH 231/323] md: raid5: Make raid5_percpu handling RT aware -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/5.10/older/patches-5.10.204-rt100.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/5.10/older/patches-5.10.215-rt107.tar.xz __raid_run_ops() disables preemption with get_cpu() around the access to the raid5_percpu variables. That causes scheduling while atomic @@ -20,7 +20,7 @@ Tested-by: Udo van den Heuvel <udovdh@xs4all.nl> 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/md/raid5.c b/drivers/md/raid5.c -index 9f114b9d8dc6..7e0eb8defeaf 100644 +index 9f114b9d8dc6b..7e0eb8defeafc 100644 --- a/drivers/md/raid5.c +++ b/drivers/md/raid5.c @@ -2218,8 +2218,9 @@ static void raid_run_ops(struct stripe_head *sh, unsigned long ops_request) @@ -53,7 +53,7 @@ index 9f114b9d8dc6..7e0eb8defeaf 100644 } diff --git a/drivers/md/raid5.h b/drivers/md/raid5.h -index 5c05acf20e1f..665fe138ab4f 100644 +index 5c05acf20e1f2..665fe138ab4f7 100644 --- a/drivers/md/raid5.h +++ b/drivers/md/raid5.h @@ -635,6 +635,7 @@ struct r5conf { @@ -65,5 +65,5 @@ index 5c05acf20e1f..665fe138ab4f 100644 void *scribble; /* space for constructing buffer * lists and performing address -- -2.43.0 +2.44.0 |