lkml.org 
[lkml]   [2021]   [Oct]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] KVM: cleanup allocation of rmaps and page tracking data
On Mon, Oct 18, 2021, Paolo Bonzini wrote:
> From: David Stevens <stevensd@chromium.org>
>
> Unify the flags for rmaps and page tracking data, using a
> single flag in struct kvm_arch and a single loop to go
> over all the address spaces and memslots. This avoids
> code duplication between alloc_all_memslots_rmaps and
> kvm_page_track_enable_mmu_write_tracking.
>
> Signed-off-by: David Stevens <stevensd@chromium.org>
> [This patch is the delta between David's v2 and v3, with conflicts
> fixed and my own commit message. - Paolo]
> Co-developed-by: Sean Christopherson <seanjc@google.com>

Checkpatch will complain about a lack of

Signed-off-by: Sean Christopherson <seanjc@google.com>

> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---

...

> + bool shadow_root_alloced;

Maybe "allocated" instead of "alloced"?

\
 
 \ /
  Last update: 2021-10-18 20:14    [W:0.072 / U:0.900 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site