KVM: MMU: Make the way of accessing lpage_info more generic
authorTakuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
Tue, 7 Dec 2010 03:59:07 +0000 (12:59 +0900)
committerAvi Kivity <avi@redhat.com>
Wed, 12 Jan 2011 09:30:47 +0000 (11:30 +0200)
commitd4dbf470096c51cb4785167ea59fdbdea87ccbe4
treefbc50ca20c1ed53ce431c5e923fb46e7faeef986
parent443381a828910efa3d71ba4491d180f2d0bb4212
KVM: MMU: Make the way of accessing lpage_info more generic

Large page information has two elements but one of them, write_count, alone
is accessed by a helper function.

This patch replaces this helper function with more generic one which returns
newly named kvm_lpage_info structure and use it to access the other element
rmap_pde.

Signed-off-by: Takuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/mmu.c
include/linux/kvm_host.h
This page took 0.025145 seconds and 5 git commands to generate.