diff options
| author | Mikulas Patocka <mpatocka@redhat.com> | 2025-12-01 22:13:10 +0100 |
|---|---|---|
| committer | Mikulas Patocka <mpatocka@redhat.com> | 2025-12-10 19:28:22 +0100 |
| commit | 8581b19eb2c5ccf06c195d3b5468c3c9d17a5020 (patch) | |
| tree | 1aa1056b006c7cc5a526ea84f683d8ac3bb44fb2 /scripts/lib/abi/abi_regex.py | |
| parent | f4412c7d5a5ab34a6338e15d07fba25185fbb94c (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 'scripts/lib/abi/abi_regex.py')
0 files changed, 0 insertions, 0 deletions
