lkml.org 
[lkml]   [2019]   [Jan]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH 4/11] KVM/MMU: Introduce tlb flush with range list
    From
    Date
    On 04/01/19 09:53, lantianyu1986@gmail.com wrote:
    > struct kvm_mmu_page {
    > struct list_head link;
    > +
    > + /*
    > + * Tlb flush with range list uses struct kvm_mmu_page as list entry
    > + * and all list operations should be under protection of mmu_lock.
    > + */
    > + struct list_head flush_link;
    > struct hlist_node hash_link;
    > bool unsync;
    >
    > @@ -443,6 +449,7 @@ struct kvm_mmu {

    Again, it would be nice not to grow the struct too much, though I
    understand that it's already relatively big (168 bytes).

    Can you at least make this an hlist, so that it only takes a single word?

    Paolo

    \
     
     \ /
      Last update: 2019-01-07 18:26    [W:3.164 / U:1.672 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site