Re: [PATCH 0/5] for_each_shadow_entry

2008-12-28 Thread Avi Kivity

Marcelo Tosatti wrote:

On Thu, Dec 25, 2008 at 03:23:34PM +0200, Avi Kivity wrote:
  

This patchset replaces walk_shadow(), which calls a callback for each
shadow pte that maps a guest virtal address, by an equivalent for_each style
construct.  Benefits are less thunks and smaller code.

Please review.



Looks good.
  


Merged; thanks for the review.

--
error compiling committee.c: too many arguments to function

--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH 0/5] for_each_shadow_entry

2008-12-27 Thread Marcelo Tosatti
On Thu, Dec 25, 2008 at 03:23:34PM +0200, Avi Kivity wrote:
 This patchset replaces walk_shadow(), which calls a callback for each
 shadow pte that maps a guest virtal address, by an equivalent for_each style
 construct.  Benefits are less thunks and smaller code.
 
 Please review.

Looks good.

--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH 0/5] for_each_shadow_entry

2008-12-25 Thread Avi Kivity
This patchset replaces walk_shadow(), which calls a callback for each
shadow pte that maps a guest virtal address, by an equivalent for_each style
construct.  Benefits are less thunks and smaller code.

Please review.

Avi Kivity (5):
  KVM: MMU: Add for_each_shadow_entry(), a simpler alternative to
walk_shadow()
  KVM: MMU: Use for_each_shadow_entry() in __direct_map()
  KVM: MMU: Replace walk_shadow() by for_each_shadow_entry() in fetch()
  KVM: MMU: Replace walk_shadow() by for_each_shadow_entry() in
invlpg()
  KVM: MMU: Drop walk_shadow()

 arch/x86/kvm/mmu.c |  150 ++-
 arch/x86/kvm/paging_tmpl.h |  209 +++-
 2 files changed, 157 insertions(+), 202 deletions(-)

--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html