Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795981887; b=C8yiJoukhtNVCRvXxeM5ZQ1aQ10NvzCcBMkY05R6A1KXJb0pWncGMu+U1EisvR2xPlL+ zn7Sxq7F4QFQ6mr3EyeeVLV77QFYTwRQYZGzf462Nn5Ow+BxrW67+xpsllNMWIIN2CU0I okl7hLfvIIG/CkkCXklLc6j0dxJAidmUcVvBdA0HbDsp1p4pnHd1wDeSkj+bHCgUtprVu bYZ9p2L0ZT5LkTFNnkLI6VKkq7jZDNx4iOOFV5ojfPiynEbSUcKbrwAX9Rz05VkwO2Pug uAf16y/URM4I40pPjnZAh6gPay4m5B4VZI2C6N5Gy91fTaN09I1xzbCn50eXh/XQYpg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795981887; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition: Content-Transfer-Encoding:In-Reply-To; bh=6c681xm9NKrFnVwb6RjHHZZ5E1r97mn15lXSPIQh1Bs=; b=dHPAhy+Z79Ab5+uC1DZvSIDNIvl6Zf+GztB7QU7O7Hag+MhskyNHcXOkRKV9ZD6ZCKB3 zj8K06iileUcuzE7DohejNQaWYbrOP86p0rJl66IqUVuCgoY29mntEFIWyq19+7HOkGt3 1RAyN7UVV6le5Ng5DIJIBavn2i3A864eveMVXnJJZrb2a8xIBNP3dGdG3u+LPJWc3TmTJ HqvCba3+OqErwJQXHJeoivRYqGzlphylIzdoajVfKDHHFBD40+3KYDUynn7DKUnoPI0ja oxZZai2zAjCsgrDrlxlV8YJ5Qfd+kaVlzaVYFB4sZs564J71cpSsWw9Wvnko5pUoPpA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=dVJTphed; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4BA88606A31C for ; Sun, 29 Nov 2026 19:51:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=dVJTphed Received: by smtp.kernel.org (Postfix) with ESMTPSA id EADE51F000C1; Sun, 29 Nov 2026 19:51:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1795981886; bh=6c681xm9NKrFnVwb6RjHHZZ5E1r97mn15lXSPIQh1Bs=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=dVJTphed0m9GB9uaKJHucgbNZzwGs7OUWhmiqooArt1goflA7yYNKIlUrLgXAElzZ 7cjkr+O+awZnuw5TMnGTDdPYoJlzAoZyrlXm6hfJ6NN5aNPXL2igfnYc9+SPe5mOdN IC+37NuulDyHE2SwzRsZnq7mBD/RFYAdVEmaNRwBU1lbmy4EZTPlpl6kWgJQ8VmB0z 6RWuTJmK+ZxHNhrHYrUFaARYlmYOplxfa6WqtlcniYKdiNp7aWLoXWOaugOd5vCAc7 kUq8l91FNa4UEzRpfFrzb6BmvyjmL0gdBBli+dMldTua6yt3Ey8OpM5eEpyQqcB/zf mnDFX6EdvQoSQ== Date: Sun, 29 Nov 2026 21:51:19 +0200 From: Mike Rapoport To: sashiko-reviews@lists.linux.dev Cc: Chris Down , Pasha Tatashin , Pratyush Yadav , Alexander Graf , Baoquan He , Jonathan Corbet , Shuah Khan , kexec@lists.infradead.org, linux-mm@kvack.org, kernel-team@meta.com, Breno Leitao Subject: Re: [PATCH v2 1/7] kho: Reclaim the metadata page left reserved after kexec Message-ID: References: <4015fa169046f1ac59bf3d8b0218a2c2e6c7ed22.1795857773.git.chris@chrisdown.name> X-Mailing-List: sashiko-reviews@lists.linux.dev List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Sun, Nov 29, 2026 at 06:28:32PM +0000, sashiko-bot@kernel.org wrote: > Thank you for your contribution! Sashiko AI review found 1 potential > issue to consider: > - [Low] kho: missing Fixes trailer for metadata page leak in > kho_in_kexec_metadata() > -- > > commit 7e9850ca466f4abcb7e3445a206026f7ef5a38d7 > Author: Chris Down > > > kho: Reclaim the metadata page left reserved after kexec > > > > After a KHO kexec, the new kernel keeps the page holding the previous > > kernel's kexec metadata reserved for as long as it runs. It only needs > > the page once, since kho_in_kexec_metadata() copies the previous release > > and the kexec count out of it at boot, and nothing reads it again. > > > > Free it with kho_restore_free() once copying is complete. > > > > Tested-by: Breno Leitao > > Reviewed-by: Pasha Tatashin > > Signed-off-by: Chris Down > > [Severity: Low] > This fixes a metadata page leak in kho_in_kexec_metadata(). Should it > include: > > Fixes: 76aa46b9e404 ("kho: kexec-metadata: track previous kernel chain") Nah, it's not worth the hassle. > -- > Sashiko AI review · https://sashiko.dev/#/patchset/cover.1795857773.git.chris@chrisdown.name?part=1 -- Sincerely yours, Mike.