summaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorLi RongQing <lirongqing@baidu.com>2026-05-02 22:33:49 -0400
committerLeon Romanovsky <leon@kernel.org>2026-05-18 04:58:41 -0400
commitd38e69adc27e88111ebf13a51c83756c6249f734 (patch)
tree2cc2ea76e12d6ccf79de22a1106d56ba42c479c4 /scripts/objdiff
parent43f8f7946814c8e5f464518246fdbc69b6e32326 (diff)
IB/mlx5: Reduce spinlock contention by moving free operations outside
The functions kfree() and kvfree() can occasionally trigger a long chain of calls or face contention in the slab allocator. Executing these inside a spinlock increases the risk of CPU stalls and increases lock contention under heavy event load. Move the memory freeing logic out of the critical sections in devx.c by using temporary lists and local flags. This narrows the lock's scope to only protect the list integrity and state transitions. Signed-off-by: Li RongQing <lirongqing@baidu.com> Link: https://patch.msgid.link/20260503023349.1959-1-lirongqing@baidu.com Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions