aboutsummaryrefslogtreecommitdiffstats
path: root/samples/rust/rust_driver_pci.rs
diff options
context:
space:
mode:
authorAlexei Starovoitov <[email protected]>2025-02-22 02:44:26 +0000
committerAlexei Starovoitov <[email protected]>2025-02-27 17:39:44 +0000
commite8d78dbd0199a42f4e8599d768e77348f3e59741 (patch)
treed327e1c08980c15121ebd9c8c8356adcd73b4777 /samples/rust/rust_driver_pci.rs
parentmemcg: Use trylock to access memcg stock_lock. (diff)
downloadkernel-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