lkml.org 
[lkml]   [2016]   [Mar]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v2 0/9] cleanup around kvm_sync_page, and a few micro-optimizations
From
Date
On 2016/03/07 23:15, Paolo Bonzini wrote:
> Having committed the ubsan fixes, this are the cleanups that are left.
>
> Compared to v1, I have fixed the patch to coalesce page zapping after
> mmu_sync_children (as requested by Takuya and Guangrong), and I have
> rewritten is_last_gpte again in an even simpler way.
>
> Paolo
>
> Paolo Bonzini (9):
> KVM: MMU: introduce kvm_mmu_flush_or_zap
> KVM: MMU: move TLB flush out of __kvm_sync_page
> KVM: MMU: use kvm_sync_page in kvm_sync_pages
> KVM: MMU: cleanup __kvm_sync_page and its callers
> KVM: MMU: invert return value of mmu.sync_page and *kvm_sync_page*
> KVM: MMU: move zap/flush to kvm_mmu_get_page
> KVM: MMU: coalesce more page zapping in mmu_sync_children

1-7 look good to me.

> KVM: MMU: simplify is_last_gpte
> KVM: MMU: micro-optimize gpte_access

8 and 9 look reasonable to me, though I read them only briefly.

Takuya


\
 
 \ /
  Last update: 2016-03-08 09:41    [W:2.182 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site