]> www.infradead.org Git - nvme.git/commit
KVM: arm64: nv: Use GFP_KERNEL_ACCOUNT for sysreg_masks allocation
authorOliver Upton <oliver.upton@linux.dev>
Mon, 17 Jun 2024 18:10:18 +0000 (18:10 +0000)
committerOliver Upton <oliver.upton@linux.dev>
Wed, 19 Jun 2024 08:42:39 +0000 (08:42 +0000)
commit3dc14eefa504d2fbe8e75113c7bb164a20bc39b0
tree59658da1bad39235e151f5387d382cef87209eb4
parenteb9d53d4a949c6d6d7c9f130e537f6b5687fedf9
KVM: arm64: nv: Use GFP_KERNEL_ACCOUNT for sysreg_masks allocation

Of course, userspace is in the driver's seat for struct kvm and
associated allocations. Make sure the sysreg_masks allocation
participates in kmem accounting.

Reviewed-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20240617181018.2054332-1-oliver.upton@linux.dev
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
arch/arm64/kvm/nested.c