Commit f474092
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: Alexey Dobriyan <adobriyan@gmail.com>
Message-ID: <c0122f66-f428-417e-a360-b25fc0f154a0@p183>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>1 parent b018589 commit f474092
1 file changed
+5
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4427 | 4427 | | |
4428 | 4428 | | |
4429 | 4429 | | |
4430 | | - | |
| 4430 | + | |
4431 | 4431 | | |
4432 | 4432 | | |
4433 | 4433 | | |
| |||
4454 | 4454 | | |
4455 | 4455 | | |
4456 | 4456 | | |
4457 | | - | |
4458 | | - | |
| 4457 | + | |
4459 | 4458 | | |
4460 | 4459 | | |
4461 | 4460 | | |
| |||
4547 | 4546 | | |
4548 | 4547 | | |
4549 | 4548 | | |
4550 | | - | |
| 4549 | + | |
4551 | 4550 | | |
4552 | 4551 | | |
4553 | 4552 | | |
| |||
6210 | 6209 | | |
6211 | 6210 | | |
6212 | 6211 | | |
6213 | | - | |
| 6212 | + | |
6214 | 6213 | | |
6215 | 6214 | | |
6216 | 6215 | | |
| |||
6226 | 6225 | | |
6227 | 6226 | | |
6228 | 6227 | | |
6229 | | - | |
| 6228 | + | |
6230 | 6229 | | |
6231 | 6230 | | |
6232 | 6231 | | |
| |||
0 commit comments