[PATCH v12 04/84] KVM: Allow calling kvm_release_page_{clean,dirty}() on a NULL page pointer

Alex Bennée alex.bennee at linaro.org
Thu Aug 1 19:03:38 AEST 2024


Sean Christopherson <seanjc at google.com> writes:

> Allow passing a NULL @page to kvm_release_page_{clean,dirty}(), there's no
> tangible benefit to forcing the callers to pre-check @page, and it ends up
> generating a lot of duplicate boilerplate code.
>
> Signed-off-by: Sean Christopherson <seanjc at google.com>

Reviewed-by: Alex Bennée <alex.bennee at linaro.org>

-- 
Alex Bennée
Virtualisation Tech Lead @ Linaro


More information about the Linuxppc-dev mailing list