Files
linux/kernel
Yafang Shao ee53cbfb1e bpf: allow to disable bpf map memory accounting
We can simply set root memcg as the map's memcg to disable bpf memory
accounting. bpf_map_area_alloc is a little special as it gets the memcg
from current rather than from the map, so we need to disable GFP_ACCOUNT
specifically for it.

Signed-off-by: Yafang Shao <[email protected]>
Acked-by: Johannes Weiner <[email protected]>
Acked-by: Roman Gushchin <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
2023-02-10 18:59:57 -08:00
..
2023-02-10 17:51:27 -08:00
2022-12-02 11:25:00 +01:00
2022-12-21 14:31:52 -08:00
2023-02-10 17:51:27 -08:00
2022-08-29 19:47:03 -04:00
2022-09-26 10:13:13 -07:00
…
…
…
…
2022-11-15 00:42:02 -08:00
…
…
2022-06-29 13:07:16 +02:00
…
…
…
2022-02-25 09:36:06 +01:00
…
…
…
…