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


Groups > linux.kernel > #1353202

Re: [PATCH v2 net-next 0/12] bpf: map pre-alloc

From Alexei Starovoitov <ast@fb.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2 net-next 0/12] bpf: map pre-alloc
Date 2016-03-08 17:50 +0100
Message-ID <rasZz-3on-1@gated-at.bofh.it> (permalink)
References <raiQy-55u-5@gated-at.bofh.it> <ralY7-7kI-25@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 3/8/16 1:13 AM, Daniel Wagner wrote:
>> Some time back Daniel Wagner reported crashes when bpf hash map is
>> >used to compute time intervals between preempt_disable->preempt_enable
>> >and recently Tom Zanussi reported a dead lock in iovisor/bcc/funccount
>> >tool if it's used to count the number of invocations of kernel
>> >'*spin*' functions. Both problems are due to the recursive use of
>> >slub and can only be solved by pre-allocating all map elements.
 >
> I gave it a short spin and lathist sample works just fine.

awesome. Thanks for testing!

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


Thread

[PATCH v2 net-next 0/12] bpf: map pre-alloc Alexei Starovoitov <ast@fb.com> - 2016-03-08 07:00 +0100
  [PATCH v2 net-next 08/12] samples/bpf: add map_flags to bpf loader Alexei Starovoitov <ast@fb.com> - 2016-03-08 07:00 +0100
  [PATCH v2 net-next 06/12] samples/bpf: make map creation more verbose Alexei Starovoitov <ast@fb.com> - 2016-03-08 07:10 +0100
  [PATCH v2 net-next 02/12] bpf: introduce percpu_freelist Alexei Starovoitov <ast@fb.com> - 2016-03-08 07:10 +0100
  Re: [PATCH v2 net-next 0/12] bpf: map pre-alloc Daniel Wagner <daniel.wagner@bmw-carit.de> - 2016-03-08 10:20 +0100
    Re: [PATCH v2 net-next 0/12] bpf: map pre-alloc Alexei Starovoitov <ast@fb.com> - 2016-03-08 17:50 +0100
  Re: [PATCH v2 net-next 0/12] bpf: map pre-alloc David Miller <davem@davemloft.net> - 2016-03-08 21:40 +0100
    Re: [PATCH v2 net-next 0/12] bpf: map pre-alloc Alexei Starovoitov <alexei.starovoitov@gmail.com> - 2016-03-09 00:10 +0100

csiph-web