]> err.no Git - linux-2.6/commit
[PATCH] KVM: MMU: Fold fetch_guest() into init_walker()
authorAvi Kivity <avi@qumranet.com>
Sat, 6 Jan 2007 00:36:40 +0000 (16:36 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Sat, 6 Jan 2007 07:55:24 +0000 (23:55 -0800)
commitac79c978f173586ab3624427c89cd22b393cabd4
tree43553aa9ac5839c6f63b95c2218c16ea2e35d570
parent1342d3536d6a12541ceb276da15f043db90716eb
[PATCH] KVM: MMU: Fold fetch_guest() into init_walker()

It is never necessary to fetch a guest entry from an intermediate page table
level (except for large pages), so avoid some confusion by always descending
into the lowest possible level.

Rename init_walker() to walk_addr() as it is no longer restricted to
initialization.

Signed-off-by: Avi Kivity <avi@qumranet.com>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/kvm/paging_tmpl.h