]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: Refactor codes handling percpu map
authorMartin KaFai Lau <kafai@fb.com>
Fri, 11 Nov 2016 18:55:08 +0000 (10:55 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Nov 2016 16:50:20 +0000 (11:50 -0500)
commitce39b945450ea521e935720c4555ed31c9bef9d4
treeada0b67da6398ced8e1092eb9d47cc7671a10660
parent412f6c22e8915c4e0a628f010b3d347edc28327f
bpf: Refactor codes handling percpu map

Refactor the codes that populate the value
of a htab_elem in a BPF_MAP_TYPE_PERCPU_HASH
typed bpf_map.

Signed-off-by: Martin KaFai Lau <kafai@fb.com>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
kernel/bpf/hashtab.c