Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit f474092c authored by Alexey Dobriyan's avatar Alexey Dobriyan Committed by Paolo Bonzini
Browse files

kvm: do not account temporary allocations to kmem


Some allocations done by KVM are temporary, they are created as result
of program actions, but can't exists for arbitrary long times.

They should have been GFP_TEMPORARY (rip!).

OTOH, kvm-nx-lpage-recovery and kvm-pit kernel threads exist for as long
as VM exists but their task_struct memory is not accounted.
This is story for another day.

Signed-off-by: default avatarAlexey Dobriyan <adobriyan@gmail.com>
Message-ID: <c0122f66-f428-417e-a360-b25fc0f154a0@p183>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent b0185890
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment