Files
linux/drivers/md
Mikulas Patocka 6a1099604b dm-snapshot: fix 'scheduling while atomic' on real-time kernels
[ Upstream commit 8581b19eb2 ]

There is reported 'scheduling while atomic' bug when using dm-snapshot on
real-time kernels. The reason for the bug is that the hlist_bl code does
preempt_disable() when taking the lock and the kernel attempts to take
other spinlocks while holding the hlist_bl lock.

Fix this by converting a hlist_bl spinlock into a regular spinlock.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Reported-by: Jiping Ma <jiping.ma2@windriver.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2026-01-17 16:31:19 +01:00
..
2024-04-01 11:53:37 -06:00
2024-05-09 09:10:58 -04:00
2024-02-20 14:22:51 -05:00
2024-06-26 11:32:39 -04:00
2025-06-19 15:32:05 +02:00
2025-02-17 10:05:04 +01:00
2025-02-17 10:05:04 +01:00
2025-02-17 10:05:04 +01:00
2024-03-06 08:59:53 -08:00