aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/gcc-generate-rtl-pass.h
diff options
context:
space:
mode:
authorJia He <[email protected]>2021-09-07 20:31:11 +0800
committerMarc Zyngier <[email protected]>2021-10-17 11:25:55 +0100
commit3ef231670b9e9001316a426e794b2c74b8f6b4f6 (patch)
treeebc5904224dbda17654ad0cce6d2cb28fde35e5f /scripts/gcc-plugins/gcc-generate-rtl-pass.h
parent9e1ff307c779ce1f0f810c7ecce3d95bbae40896 (diff)
KVM: arm64: vgic: Add memcg accounting to vgic allocations
Inspired by commit 254272ce6505 ("kvm: x86: Add memcg accounting to KVM allocations"), it would be better to make arm64 vgic consistent with common kvm codes. The memory allocations of VM scope should be charged into VM process cgroup, hence change GFP_KERNEL to GFP_KERNEL_ACCOUNT. There remain a few cases since these allocations are global, not in VM scope. Signed-off-by: Jia He <[email protected]> Reviewed-by: Oliver Upton <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-rtl-pass.h')
0 files changed, 0 insertions, 0 deletions