Message ID | 20231113141207.1459002-1-houtao@huaweicloud.com (mailing list archive) |
---|---|
Headers | show |
Series | bpf: Use GFP_KERNEL in bpf_event_entry_gen() | expand |
ping ? On 11/13/2023 10:12 PM, Hou Tao wrote: > From: Hou Tao <houtao1@huawei.com> > > Hi, > > The simple patchset aims to replace GFP_ATOMIC in bpf_event_entry_gen(). > These two patches in the patchset were preparatory patches in "Fix the > release of inner map" patchset [1] and are not needed for v2, so re-post > it to bpf-next tree. > > Patch #1 reduces the scope of rcu_read_lock when updating fd map and > patch #2 replaces GFP_ATOMIC by GFP_KERNEL. Please see individual > patches for more details. > > Comments are always welcome. > > Regards, > Tao > > [1]: https://lore.kernel.org/bpf/20231107140702.1891778-1-houtao@huaweicloud.com > > Hou Tao (2): > bpf: Reduce the scope of rcu_read_lock when updating fd map > bpf: Use GFP_KERNEL in bpf_event_entry_gen() > > kernel/bpf/arraymap.c | 2 +- > kernel/bpf/hashtab.c | 2 ++ > kernel/bpf/syscall.c | 4 ---- > 3 files changed, 3 insertions(+), 5 deletions(-) >
On Mon, Dec 4, 2023 at 5:37 PM Hou Tao <houtao@huaweicloud.com> wrote: > > ping ? Please resubmit.
From: Hou Tao <houtao1@huawei.com> Hi, The simple patchset aims to replace GFP_ATOMIC in bpf_event_entry_gen(). These two patches in the patchset were preparatory patches in "Fix the release of inner map" patchset [1] and are not needed for v2, so re-post it to bpf-next tree. Patch #1 reduces the scope of rcu_read_lock when updating fd map and patch #2 replaces GFP_ATOMIC by GFP_KERNEL. Please see individual patches for more details. Comments are always welcome. Regards, Tao [1]: https://lore.kernel.org/bpf/20231107140702.1891778-1-houtao@huaweicloud.com Hou Tao (2): bpf: Reduce the scope of rcu_read_lock when updating fd map bpf: Use GFP_KERNEL in bpf_event_entry_gen() kernel/bpf/arraymap.c | 2 +- kernel/bpf/hashtab.c | 2 ++ kernel/bpf/syscall.c | 4 ---- 3 files changed, 3 insertions(+), 5 deletions(-)