[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220623224128.id7akccvefjo7kre@kafai-mbp>
Date: Thu, 23 Jun 2022 15:41:28 -0700
From: Martin KaFai Lau <kafai@...com>
To: Stanislav Fomichev <sdf@...gle.com>
Cc: netdev@...r.kernel.org, bpf@...r.kernel.org, ast@...nel.org,
daniel@...earbox.net, andrii@...nel.org
Subject: Re: [PATCH bpf-next v10 04/11] bpf: minimize number of allocated lsm
slots per program
On Wed, Jun 22, 2022 at 09:03:39AM -0700, Stanislav Fomichev wrote:
> Previous patch adds 1:1 mapping between all 211 LSM hooks
> and bpf_cgroup program array. Instead of reserving a slot per
> possible hook, reserve 10 slots per cgroup for lsm programs.
> Those slots are dynamically allocated on demand and reclaimed.
Reviewed-by: Martin KaFai Lau <kafai@...com>
Powered by blists - more mailing lists