diff options
| author | Alexei Starovoitov <[email protected]> | 2025-02-22 02:44:26 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2025-02-27 17:39:44 +0000 |
| commit | e8d78dbd0199a42f4e8599d768e77348f3e59741 (patch) | |
| tree | d327e1c08980c15121ebd9c8c8356adcd73b4777 /samples/rust/rust_driver_pci.rs | |
| parent | memcg: Use trylock to access memcg stock_lock. (diff) | |
| download | kernel-e8d78dbd0199a42f4e8599d768e77348f3e59741.tar.gz kernel-e8d78dbd0199a42f4e8599d768e77348f3e59741.zip | |
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 <[email protected]>
Acked-by: Shakeel Butt <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'samples/rust/rust_driver_pci.rs')
0 files changed, 0 insertions, 0 deletions
