lkml.org 
[lkml]   [2015]   [May]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v3 09/10] KVM: MMU: fix MTRR update


    On 14/05/2015 02:16, Wanpeng Li wrote:
    > >SPTEs are kept around and cached. The "role" field is used as the hash
    > >key; if the role doesn't change, SPTEs are reused, so you have to zap
    > >the SPTEs explicitly.
    >
    > Btw, why the patch changelog mentioned that the root shadow page will be
    > reused, I think it will be zapped in mmu_free_roots.

    Who has set sp->role.invalid on it? If no one has, it's not zapped and
    it will be found again in the hash table.

    Paolo


    \
     
     \ /
      Last update: 2015-05-14 11:21    [W:2.182 / U:0.176 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site