]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: sock_ops: Change some members of sock_ops_kern from u32 to u8
authorMartin KaFai Lau <kafai@fb.com>
Thu, 20 Aug 2020 19:00:58 +0000 (12:00 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Mon, 24 Aug 2020 21:35:00 +0000 (14:35 -0700)
commit2b61ceee4f777a740b7bf34278a8275a20a9e8c3
tree7218417c9ec1b4fa86eedf3b0a8d5bd75405b2e0
parent8bc2302da4ae8ecbc4643157dbc10e2ae5e52a8c
bpf: sock_ops: Change some members of sock_ops_kern from u32 to u8

A later patch needs to add a few pointers and a few u8 to
sock_ops_kern.  Hence, this patch saves some spaces by moving
some of the existing members from u32 to u8 so that the later
patch can still fit everything in a cacheline.

Signed-off-by: Martin KaFai Lau <kafai@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20200820190058.2885640-1-kafai@fb.com
include/linux/filter.h
net/core/filter.c