lkml.org 
[lkml]   [2021]   [Nov]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH v5.5 29/30] KVM: Wait 'til the bitter end to initialize the "new" memslot
    Date
    On 04.11.2021 01:25, Sean Christopherson wrote:
    > Initialize the "new" memslot in the !DELETE path only after the various
    > sanity checks have passed. This will allow a future commit to allocate
    > @new dynamically without having to copy a memslot, and without having to
    > deal with freeing @new in error paths and in the "nothing to change" path
    > that's hiding in the sanity checks.
    >
    > No functional change intended.
    >
    > Signed-off-by: Sean Christopherson <seanjc@google.com>
    > ---

    Reviewed-by: Maciej S. Szmigiero <maciej.szmigiero@oracle.com>

    \
     
     \ /
      Last update: 2021-11-12 00:55    [W:5.038 / U:0.508 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site