Re: [PATCH bpf-next v7 09/34] bpf: refine memcg-based memory accounting for cpumap maps

From: Song Liu
Date: Thu Nov 19 2020 - 20:33:51 EST




> On Nov 19, 2020, at 9:37 AM, Roman Gushchin <guro@xxxxxx> wrote:
>
> Include metadata and percpu data into the memcg-based memory
> accounting. Switch allocations made from an update path to
> new bpf_map_* allocation helpers to make the accounting work
> properly from an interrupt context.
>
> Signed-off-by: Roman Gushchin <guro@xxxxxx>

Acked-by: Song Liu <songliubraving@xxxxxx>