Convert explored_states array into hash table and use simple hash to reduce verifier peak memory consumption for programs with bpf2bpf calls. More details in patch 3. Alexei Starovoitov (3): bpf: cleanup explored_states bpf: split explored_states bpf: convert explored_states to hash table include/linux/bpf_verifier.h | 2 + kernel/bpf/verifier.c | 78 ++++++++++++++++++++++-------------- 2 files changed, 51 insertions(+), 29 deletions(-) -- 2.20.0