]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: s390: Add memcg accounting to KVM allocations
authorChristian Borntraeger <borntraeger@de.ibm.com>
Fri, 6 Nov 2020 07:34:23 +0000 (08:34 +0100)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Thu, 10 Dec 2020 12:36:05 +0000 (13:36 +0100)
commit14856168f3bd64cc55829ff0b21b8b36bebbbacc
tree41038f3be6a4278e54f3d1eb014c887926946016
parent1a1a5d6cd1062ccc15f5dedff6e1f10224f45f11
KVM: s390: Add memcg accounting to KVM allocations

Almost all kvm allocations in the s390x KVM code can be attributed to
the process that triggers the allocation (in other words, no global
allocation for other guests). This will help the memcg controller to
make the right decisions.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Acked-by: Janosch Frank <frankja@linux.ibm.com>
Acked-by: Cornelia Huck <cohuck@redhat.com>
arch/s390/kvm/guestdbg.c
arch/s390/kvm/intercept.c
arch/s390/kvm/interrupt.c
arch/s390/kvm/kvm-s390.c
arch/s390/kvm/priv.c
arch/s390/kvm/pv.c
arch/s390/kvm/vsie.c