lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-ID: <YuK+rbZXg7CYjLhE@slm.duckdns.org> Date: Thu, 28 Jul 2022 06:51:57 -1000 From: Tejun Heo <tj@...nel.org> To: Yosry Ahmed <yosryahmed@...gle.com> Cc: Alexei Starovoitov <ast@...nel.org>, Daniel Borkmann <daniel@...earbox.net>, Andrii Nakryiko <andrii@...nel.org>, Martin KaFai Lau <kafai@...com>, Song Liu <songliubraving@...com>, Yonghong Song <yhs@...com>, Hao Luo <haoluo@...gle.com>, Zefan Li <lizefan.x@...edance.com>, Johannes Weiner <hannes@...xchg.org>, Shuah Khan <shuah@...nel.org>, Michal Hocko <mhocko@...nel.org>, KP Singh <kpsingh@...nel.org>, Benjamin Tissoires <benjamin.tissoires@...hat.com>, John Fastabend <john.fastabend@...il.com>, Michal Koutný <mkoutny@...e.com>, Roman Gushchin <roman.gushchin@...ux.dev>, David Rientjes <rientjes@...gle.com>, Stanislav Fomichev <sdf@...gle.com>, Greg Thelen <gthelen@...gle.com>, Shakeel Butt <shakeelb@...gle.com>, linux-kernel@...r.kernel.org, netdev@...r.kernel.org, bpf@...r.kernel.org, cgroups@...r.kernel.org Subject: Re: [PATCH bpf-next v5 6/8] cgroup: bpf: enable bpf programs to integrate with rstat On Fri, Jul 22, 2022 at 05:48:27PM +0000, Yosry Ahmed wrote: > Enable bpf programs to make use of rstat to collect cgroup hierarchical > stats efficiently: > - Add cgroup_rstat_updated() kfunc, for bpf progs that collect stats. > - Add cgroup_rstat_flush() sleepable kfunc, for bpf progs that read stats. > - Add an empty bpf_rstat_flush() hook that is called during rstat > flushing, for bpf progs that flush stats to attach to. Attaching a bpf > prog to this hook effectively registers it as a flush callback. > > Signed-off-by: Yosry Ahmed <yosryahmed@...gle.com> Acked-by: Tejun Heo <tj@...nel.org> Thanks. -- tejun
Powered by blists - more mailing lists