]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: remove redundant initialization of page->private
authorMinchan Kim <minchan.kim@gmail.com>
Wed, 10 Mar 2010 14:31:22 +0000 (23:31 +0900)
committerAvi Kivity <avi@redhat.com>
Mon, 17 May 2010 09:15:24 +0000 (12:15 +0300)
commit9bea6c2df5cdee27f7cf6df11563ad29ee59e5b2
tree38e1ba149c88af9c957581e65f76f664b2a650c7
parent9f0093f95ca1354e60a727a236157f0bc8db4912
KVM: remove redundant initialization of page->private

The prep_new_page() in page allocator calls set_page_private(page, 0).
So we don't need to reinitialize private of page.

Signed-off-by: Minchan Kim <minchan.kim@gmail.com>
Cc: Avi Kivity<avi@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/mmu.c