Re: [PATCH v8 10/13] KVM: s390: Free the mmu cache when kvm_arch_vcpu_create() fails
[email protected] Mon, 03 Aug 2026 12:51:49 +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