On Tue, 23 Jul 2024 at 01:49, John Hubbard wrote:
>
> On 7/22/24 2:55 AM, Marco Elver wrote:
> > On Sat, Jul 20, 2024 at 09:54AM -0700, Kees Cook wrote:
> ...
> > I'm more confused now. This is just moving tests further away from what
> > they are testing
On Sat, Jul 20, 2024 at 09:54AM -0700, Kees Cook wrote:
> Based on feedback from Linus[1] and follow-up discussions, change the
> suggested file naming for KUnit tests.
>
> Link:
> https://lore.kernel.org/lkml/CAHk-=wgim6pNiGTBMhP8Kd3tsB7_JTAuvNJ=XYd3wPvvk=o...@mail.gmail.com/
> [1]
> Signed-off
On Thu, Apr 08, 2021 at 12:35PM +0200, Marco Elver wrote:
[...]
> Motivation and Example Uses
> ---
>
> 1.Our immediate motivation is low-overhead sampling-based race
> detection for user space [1]. By using perf_event_open() at
> process
On Thu, Feb 08, 2024 at 08:37AM +0100, Marco Elver wrote:
> On Thu, 8 Feb 2024 at 00:58, Yonghong Song wrote:
> > On 2/7/24 4:26 AM, Marco Elver wrote:
> > > In various performance profiles of kernels with BPF programs attached,
> > > bpf_local_storage_lookup() appears
On Thu, 8 Feb 2024 at 00:58, Yonghong Song wrote:
> On 2/7/24 4:26 AM, Marco Elver wrote:
> > In various performance profiles of kernels with BPF programs attached,
> > bpf_local_storage_lookup() appears as a significant portion of CPU
> > cycles spent. To enable the c
+- hits latency | 2481.190 ns/op | 2487.555
ns/op ( ~ )
| +- important_hits throughput | 0.102 M ops/s| 0.101 M
ops/s ( ~ )
Signed-off-by: Marco Elver
Cc: Martin KaFai Lau
---
v2:
* Inline most of bpf_local_storage_lookup(), which produc
On Tue, Feb 06, 2024 at 05:22PM -0800, Martin KaFai Lau wrote:
> On 2/6/24 9:04 AM, Marco Elver wrote:
> > On Mon, Feb 05, 2024 at 03:24PM -0800, Martin KaFai Lau wrote:
> > [...]
> > > > Or can you suggest different functions to hook to for the recursion
> > >
fff810f2ed0
mov%rbx,%rax
pop%rbx
pop%r14
cs jmp 82324ea0 <__x86_return_thunk>
Could you suggest how we can fix up the tests? I'm a little stuck
because there's not much we can hook to left.
Thanks,
-- Marco
-- >8 --
From: Marco Elver
On Wed, 31 Jan 2024 at 20:52, Martin KaFai Lau wrote:
[...]
> > | num_maps: 1000
> > | local_storage cache sequential get:
> > | |
> > | hits throughput: 0.357 ± 0.005 M ops/s | 0.325 ± 0.005 M
> > ops/s(-9.0%)
> > | hits lat
On Wed, 31 Jan 2024 at 20:52, Martin KaFai Lau wrote:
>
> On 1/31/24 6:18 AM, Marco Elver wrote:
> > To allow the compiler to inline the bpf_local_storage_lookup() fast-
> > path, factor it out by making bpf_local_storage_lookup() a static inline
> > function a
rtant_hits throughput: 0.109 ± 0.002 M ops/s | 0.112 ± 0.002 M ops/s
(+2.8%)
Signed-off-by: Marco Elver
---
include/linux/bpf_local_storage.h | 17 -
kernel/bpf/bpf_local_storage.c | 14 --
.../selftests/bpf/progs/cgrp_ls_recursion.
On Fri, 8 Dec 2023 at 02:08, Kyle Huey wrote:
>
> On Thu, Dec 7, 2023 at 2:56 PM Kyle Huey wrote:
> >
> > On Thu, Dec 7, 2023 at 11:20 AM Marco Elver wrote:
> > >
> > > On Thu, 7 Dec 2023 at 20:12, Andrii Nakryiko
> > > wrote:
> > > >
On Thu, 7 Dec 2023 at 20:12, Andrii Nakryiko wrote:
>
> On Thu, Dec 7, 2023 at 8:35 AM Kyle Huey wrote:
> >
> > The test sets a hardware breakpoint and uses a bpf program to suppress the
> > side effects of a perf event sample, including I/O availability signals,
> > SIGTRAPs, and decrementing th
13 matches
Mail list logo