lkml.org 
[lkml]   [2021]   [May]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 7/7] KVM: x86/mmu: Lazily allocate memslot rmaps
On Tue, May 04, 2021, Paolo Bonzini wrote:
> On 04/05/21 22:13, Sean Christopherson wrote:
> > > + /*
> > > + * If set, the rmap should be allocated for any newly created or
> > > + * modified memslots. If allocating rmaps lazily, this may be set
> > > + * before the rmaps are allocated for existing memslots, but
> > > + * shadow_mmu_active will not be set until after the rmaps are fully
> > > + * allocated.
> > > + */
> > > + bool alloc_memslot_rmaps;
> > Maybe "need_rmaps" or "need_memslot_rmaps"?
> >
>
> Since we're bikeshedding I prefer "memslots_have_rmaps" or something not too
> distant from that.

Works for me.

\
 
 \ /
  Last update: 2021-05-04 22:35    [W:0.053 / U:1.260 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site