Re: [PATCH v7 10/14] KVM: s390: Free the mmu cache when kvm_arch_vcpu_create() fails
[email protected] Fri, 31 Jul 2026 13:11:25 +0000
| Newsgroups | org.kernel.vger.linux-s390,org.kernel.vger.kvm |
|---|---|
| Message-ID | <[email protected]> |
> The mmu cache is the first thing that is allocated in > kvm_arch_vcpu_create(), but in case of failure it was not freed. > > Fix by freeing the mmu cache in case of failure. > > Refactor kvm_arch_vcpu_create() to use scope-based cleanup instead of > gotos. > > Signed-off-by: Claudio Imbrenda <[email protected]> Sashiko has reviewed this patch and found no issues. It looks great! -- Sashiko AI review ยท https://sashiko.dev/#/patchset/[email protected]?part=10