aboutsummaryrefslogtreecommitdiff
path: root/kernel/fork.c
diff options
context:
space:
mode:
authorAvi Kivity <avi@qumranet.com>2008-03-23 14:21:08 +0200
committerAvi Kivity <avi@qumranet.com>2008-03-25 10:22:17 +0200
commite48bb497b95a0f7127f9ff596a6b4c4b206f7dcf (patch)
treeed08b92975bdec1e482ee883040148580d3cf8ab /kernel/fork.c
parent707a18a51d83d9180a63b3cbaad8eda7764a8689 (diff)
KVM: MMU: Fix memory leak on guest demand faults
While backporting 72dc67a69690288538142df73a7e3ac66fea68dc, a gfn_to_page() call was duplicated instead of moved (due to an unrelated patch not being present in mainline). This caused a page reference leak, resulting in a fairly massive memory leak. Fix by removing the extraneous gfn_to_page() call. Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'kernel/fork.c')
0 files changed, 0 insertions, 0 deletions