Message ID | 20220420002143.1096548-4-davemarchevsky@fb.com (mailing list archive) |
---|---|
State | Changes Requested |
Delegated to: | BPF |
Headers | show |
Series | Introduce local_storage exclusive caching | expand |
diff --git a/include/linux/bpf_local_storage.h b/include/linux/bpf_local_storage.h index d87405a1b65d..a5e4c220fc0d 100644 --- a/include/linux/bpf_local_storage.h +++ b/include/linux/bpf_local_storage.h @@ -104,8 +104,6 @@ struct bpf_local_storage { container_of((_SDATA), struct bpf_local_storage_elem, sdata) #define SDATA(_SELEM) (&(_SELEM)->sdata) -#define BPF_LOCAL_STORAGE_CACHE_SIZE 16 - struct bpf_local_storage_cache { spinlock_t idx_lock; u64 idx_usage_counts[BPF_LOCAL_STORAGE_CACHE_SIZE];
BPF_LOCAL_STORAGE_CACHE_SIZE is defined elsewhere in the same header. Signed-off-by: Dave Marchevsky <davemarchevsky@fb.com> --- include/linux/bpf_local_storage.h | 2 -- 1 file changed, 2 deletions(-)