Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1353787

Re: [PATCH net-next 1/3] samples/bpf: add bpf map stress test

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH net-next 1/3] samples/bpf: add bpf map stress test
Date 2016-03-09 05:30 +0100
Message-ID <raDV0-2C5-13@gated-at.bofh.it> (permalink)
References <rayVk-7EC-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Alexei Starovoitov <ast@fb.com>
Date: Tue, 8 Mar 2016 15:07:52 -0800

> this test calls bpf programs from different contexts:
> from inside of slub, from rcu, from pretty much everywhere,
> since it kprobes all spin_lock functions.
> It stresses the bpf hash and percpu map pre-allocation,
> deallocation logic and call_rcu mechanisms.
> User space part adding more stress by walking and deleting map elements.
> 
> Note that due to nature bpf_load.c the earlier kprobe+bpf programs are
> already active while loader loads new programs, creates new kprobes and
> attaches them.
> 
> Signed-off-by: Alexei Starovoitov <ast@kernel.org>

Applied.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH net-next 1/3] samples/bpf: add bpf map stress test Alexei Starovoitov <ast@fb.com> - 2016-03-09 00:10 +0100
  [PATCH net-next 3/3] samples/bpf: add map performance test Alexei Starovoitov <ast@fb.com> - 2016-03-09 00:10 +0100
    Re: [PATCH net-next 3/3] samples/bpf: add map performance test David Miller <davem@davemloft.net> - 2016-03-09 05:30 +0100
  Re: [PATCH net-next 1/3] samples/bpf: add bpf map stress test David Miller <davem@davemloft.net> - 2016-03-09 05:30 +0100

csiph-web