1. 05 11月, 2017 1 次提交
  2. 02 11月, 2017 5 次提交
  3. 01 11月, 2017 1 次提交
    • A
      bpf: reduce verifier memory consumption · 638f5b90
      Alexei Starovoitov 提交于
      the verifier got progressively smarter over time and size of its internal
      state grew as well. Time to reduce the memory consumption.
      
      Before:
      sizeof(struct bpf_verifier_state) = 6520
      After:
      sizeof(struct bpf_verifier_state) = 896
      
      It's done by observing that majority of BPF programs use little to
      no stack whereas verifier kept all of 512 stack slots ready always.
      Instead dynamically reallocate struct verifier state when stack
      access is detected.
      Runtime difference before vs after is within a noise.
      The number of processed instructions stays the same.
      Signed-off-by: NAlexei Starovoitov <ast@kernel.org>
      Acked-by: NDaniel Borkmann <daniel@iogearbox.net>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      638f5b90
  4. 27 10月, 2017 1 次提交
  5. 24 10月, 2017 9 次提交
  6. 21 10月, 2017 2 次提交
  7. 15 10月, 2017 11 次提交
  8. 10 10月, 2017 10 次提交