<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/samples/bpf/spintest_user.c, branch linux-4.6.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.6.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.6.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2016-03-09T04:22:02Z</updated>
<entry>
<title>samples/bpf: add bpf map stress test</title>
<updated>2016-03-09T04:22:02Z</updated>
<author>
<name>Alexei Starovoitov</name>
</author>
<published>2016-03-08T23:07:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9d8b612d88e81c2cf7dbc0d4a827da6ca0d848e0'/>
<id>urn:sha1:9d8b612d88e81c2cf7dbc0d4a827da6ca0d848e0</id>
<content type='text'>
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 &lt;ast@kernel.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
