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

Provide a LRU version of the existing BPF_MAP_TYPE_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