On Mon, 21 Nov 2022 18:05:21 +0800 xiangxia.m.yue@xxxxxxxxx wrote: > From: Tonghao Zhang <xiangxia.m.yue@xxxxxxxxx> > > The commit 20b6cc34ea74 ("bpf: Avoid hashtab deadlock with map_locked"), > try to fix deadlock, but in some case, the deadlock occurs: > > * CPUn in task context with K1, and taking lock. > * CPUn interrupted by NMI context, with K2. > * They are using the same bucket, but different map_locked. You should really put bpf@ in the CC line for bpf patches.