commit | c5bc22424021cabda862727fb3f5098b866f074d | [log] [tgz] |
---|---|---|
author | Joerg Roedel <joerg.roedel@amd.com> | Thu Feb 19 12:18:56 2009 +0100 |
committer | Avi Kivity <avi@redhat.com> | Tue Mar 24 11:03:11 2009 +0200 |
tree | 587212e2615c9e33dcbe6372ea8243ffd0bbb06b | |
parent | 1fbdc7a58512a6283e10fd27108197679db95ffa [diff] |
KVM: MMU: Fix another largepage memory leak In the paging_fetch function rmap_remove is called after setting a large pte to non-present. This causes rmap_remove to not drop the reference to the large page. The result is a memory leak of that page. Cc: stable@kernel.org Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> Acked-by: Marcelo Tosatti <mtosatti@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>