]> err.no Git - linux-2.6/commit
[PATCH] KVM: MMU: Free pages on kvm destruction
authorAvi Kivity <avi@qumranet.com>
Sat, 6 Jan 2007 00:36:52 +0000 (16:36 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Sat, 6 Jan 2007 07:55:27 +0000 (23:55 -0800)
commitf51234c2cd3ab8bed836e09686e27877e1b55f2a
treefbdfbfaf5d7b9c80a105d15b28d600653661572b
parent143646567f6dcd584e1ab359b5ec83e0545e70cf
[PATCH] KVM: MMU: Free pages on kvm destruction

Because mmu pages have attached rmap and parent pte chain structures, we need
to zap them before freeing so the attached structures are freed.

Signed-off-by: Avi Kivity <avi@qumranet.com>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/kvm/mmu.c