mm, bpf: Use memcg in try_alloc_pages().
Unconditionally use __GFP_ACCOUNT in try_alloc_pages(). The caller is responsible to setup memcg correctly. All BPF memory accounting is memcg based. Acked-by:Vlastimil Babka <vbabka@suse.cz> Acked-by:
Shakeel Butt <shakeel.butt@linux.dev> Signed-off-by:
Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/r/20250222024427.30294-6-alexei.starovoitov@gmail.com Signed-off-by:
Alexei Starovoitov <ast@kernel.org>
Loading
Please sign in to comment