Commit 7f8f18d
committed
mm, bpf: Use memcg in try_alloc_pages().
JIRA: https://issues.redhat.com/browse/RHEL-78202
commit e8d78db
Author: Alexei Starovoitov <ast@kernel.org>
Date: Fri Feb 21 18:44:26 2025 -0800
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>
Signed-off-by: Gregory Bell <grbell@redhat.com>1 parent 1fc07c3 commit 7f8f18d
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7176 | 7176 | | |
7177 | 7177 | | |
7178 | 7178 | | |
7179 | | - | |
| 7179 | + | |
| 7180 | + | |
7180 | 7181 | | |
7181 | 7182 | | |
7182 | 7183 | | |
| |||
7220 | 7221 | | |
7221 | 7222 | | |
7222 | 7223 | | |
| 7224 | + | |
| 7225 | + | |
| 7226 | + | |
| 7227 | + | |
| 7228 | + | |
7223 | 7229 | | |
7224 | 7230 | | |
7225 | 7231 | | |
| |||
0 commit comments