Files
Mikulas Patocka 6930c0229f 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:35:16 +01:00
..
2024-04-01 11:53:37 -06:00
2025-08-19 11:12:50 +02:00
2024-02-20 14:22:51 -05:00
2024-11-20 11:38:04 +01:00
2025-01-13 07:36:29 -08:00
2025-12-18 14:02:53 +01:00