summaryrefslogtreecommitdiffstats
path: root/include/linux/hash.h
diff options
context:
space:
mode:
authorAvi Kivity <avi@qumranet.com>2007-03-30 14:02:32 +0300
committerAvi Kivity <avi@qumranet.com>2007-05-03 10:52:28 +0300
commit954bbbc236afe23b368abdf4942f313a5f6e1d50 (patch)
tree4c990bff08f7a9a13980deb68a85e091065bb1ec /include/linux/hash.h
parente0fa826f969c262c23908953bf85add487cc2e6c (diff)
downloadop-kernel-dev-954bbbc236afe23b368abdf4942f313a5f6e1d50.zip
op-kernel-dev-954bbbc236afe23b368abdf4942f313a5f6e1d50.tar.gz
KVM: Simply gfn_to_page()
Mapping a guest page to a host page is a common operation. Currently, one has first to find the memory slot where the page belongs (gfn_to_memslot), then locate the page itself (gfn_to_page()). This is clumsy, and also won't work well with memory aliases. So simplify gfn_to_page() not to require memory slot translation first, and instead do it internally. Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'include/linux/hash.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud