]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: Add BPF_MAP_TYPE_LRU_PERCPU_HASH
authorMartin KaFai Lau <kafai@fb.com>
Fri, 11 Nov 2016 18:55:10 +0000 (10:55 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Nov 2016 16:50:20 +0000 (11:50 -0500)
commit5789e55427d6bae5d63813696e5c0921fb761bd6
tree15fa61085e64895ab94d84c6d792ad0705bdcb4b
parentb85257875f348c884872aabdaef76c036a84da1c
bpf: Add BPF_MAP_TYPE_LRU_PERCPU_HASH

Provide a LRU version of the existing BPF_MAP_TYPE_PERCPU_HASH

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>
include/uapi/linux/bpf.h
kernel/bpf/hashtab.c
kernel/bpf/syscall.c