aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/ptrace.c
diff options
context:
space:
mode:
authorBjörn Töpel <bjorn.topel@intel.com>2019-11-01 12:03:44 +0100
committerDaniel Borkmann <daniel@iogearbox.net>2019-11-02 00:38:49 +0100
commit64fe8c061de7d7ffdfdc104a57d48d645ae0ac4f (patch)
tree874762fd9e7687d0218d8603329090abea2b71cc /kernel/ptrace.c
parentRevert "selftests: bpf: Don't try to read files without read permission" (diff)
downloadlinux-dev-64fe8c061de7d7ffdfdc104a57d48d645ae0ac4f.tar.xz
linux-dev-64fe8c061de7d7ffdfdc104a57d48d645ae0ac4f.zip
xsk: Store struct xdp_sock as a flexible array member of the XSKMAP
Prior this commit, the array storing XDP socket instances were stored in a separate allocated array of the XSKMAP. Now, we store the sockets as a flexible array member in a similar fashion as the arraymap. Doing so, we do less pointer chasing in the lookup. Signed-off-by: Björn Töpel <bjorn.topel@intel.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Jonathan Lemon <jonathan.lemon@gmail.com> Link: https://lore.kernel.org/bpf/20191101110346.15004-2-bjorn.topel@gmail.com
Diffstat (limited to 'kernel/ptrace.c')
0 files changed, 0 insertions, 0 deletions