summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/kasan.py
diff options
context:
space:
mode:
authorXiao Liang <shaw.leon@gmail.com>2025-08-17 00:30:15 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2025-08-22 17:28:44 +0800
commit501302d5cee0d8e8ec2c4a5919c37e0df9abc99b (patch)
tree1685b9f26eb6adc059c6411da9dfe6ed112419b4 /scripts/gdb/linux/kasan.py
parent56a50e37fee038d004866e5a2c479706d6034017 (diff)
padata: Reset next CPU when reorder sequence wraps around
When seq_nr wraps around, the next reorder job with seq 0 is hashed to the first CPU in padata_do_serial(). Correspondingly, need reset pd->cpu to the first one when pd->processed wraps around. Otherwise, if the number of used CPUs is not a power of 2, padata_find_next() will be checking a wrong list, hence deadlock. Fixes: 6fc4dbcf0276 ("padata: Replace delayed timer with immediate workqueue in padata_reorder") Cc: <stable@vger.kernel.org> Signed-off-by: Xiao Liang <shaw.leon@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'scripts/gdb/linux/kasan.py')
0 files changed, 0 insertions, 0 deletions