diff options
| author | 2025-12-01 22:13:10 +0100 | |
|---|---|---|
| committer | 2025-12-10 19:28:22 +0100 | |
| commit | 8581b19eb2c5ccf06c195d3b5468c3c9d17a5020 (patch) | |
| tree | 1aa1056b006c7cc5a526ea84f683d8ac3bb44fb2 /rust/kernel/ssh:/git@git.zx2c4.com | |
| parent | dm: ignore discard return value (diff) | |
dm-snapshot: fix 'scheduling while atomic' on real-time kernels
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>
Diffstat (limited to 'rust/kernel/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
