Re: [PATCH v4 bpf-next 6/6] bpf: runqslower: use task local storage

2021-02-23 Thread Martin KaFai Lau
On Mon, Feb 22, 2021 at 05:20:14PM -0800, Song Liu wrote: > Replace hashtab with task local storage in runqslower. This improves the > performance of these BPF programs. The following table summarizes average > runtime of these programs, in nanoseconds: > > task-local h

[PATCH v4 bpf-next 6/6] bpf: runqslower: use task local storage

2021-02-22 Thread Song Liu
Replace hashtab with task local storage in runqslower. This improves the performance of these BPF programs. The following table summarizes average runtime of these programs, in nanoseconds: task-local hash-prealloc hash-no-prealloc handle__sched_wakeup 125