[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 02:03:38 PDT 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 linux-riscv mailing list