diff options
| author | Alexei Starovoitov <[email protected]> | 2022-10-22 02:17:38 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2022-10-22 02:17:38 +0000 |
| commit | bed54aeb6ac1ced7e0ea27a82ee52af856610ff0 (patch) | |
| tree | 880478f51c4b63a582c3b1dba2a5730d31fe9394 /net/lapb/lapb_in.c | |
| parent | bpf: Fix dispatcher patchable function entry to 5 bytes nop (diff) | |
| parent | bpf: Use __llist_del_all() whenever possbile during memory draining (diff) | |
| download | kernel-bed54aeb6ac1ced7e0ea27a82ee52af856610ff0.tar.gz kernel-bed54aeb6ac1ced7e0ea27a82ee52af856610ff0.zip | |
Merge branch 'Wait for busy refill_work when destroying bpf memory allocator'
Hou Tao says:
====================
From: Hou Tao <[email protected]>
Hi,
The patchset aims to fix one problem of bpf memory allocator destruction
when there is PREEMPT_RT kernel or kernel with arch_irq_work_has_interrupt()
being false (e.g. 1-cpu arm32 host or mips). The root cause is that
there may be busy refill_work when the allocator is destroying and it
may incur oops or other problems as shown in patch #1. Patch #1 fixes
the problem by waiting for the completion of irq work during destroying
and patch #2 is just a clean-up patch based on patch #1. Please see
individual patches for more details.
Comments are always welcome.
Change Log:
v2:
* patch 1: fix typos and add notes about the overhead of irq_work_sync()
* patch 1 & 2: add Acked-by tags from [email protected]
v1: https://lore.kernel.org/bpf/[email protected]/T/#t
====================
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions
