From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9B3C0606A325 for ; Sun, 29 Nov 2026 18:28:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=zYSxutD3; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=DcmXaEfL DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Reply-To:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Date: Content-Transfer-Encoding:Content-Type:References:In-Reply-To:Cc:To:Subject: From:Message-ID:MIME-Version:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Unsubscribe-Post:List-Owner; bh=W5YcOtAwesC4xZYPwgGzk7XNl1VKi9Ili0deBo8Xn7k=; b=zYSxutD3QLMjgmTczCbArpz2NA KQDjG/bsYOzpJ2cHHYXQFMwt8RJgWKDJ1TiwaVsLQYvbwzpWXIg0USHspqGhMJu8ldOaOcflrud8I AlmpQOAOkMqIY/KHnGDRLFnkOZo0XzVdpF5daNrwOz6+fnCUN/bhvGWBME/jFfOsbFCpU05hYM4W3 75bOdE6agYXkFQz+/em0ougjkMCc8m3YgWI1yju/Jk/j2+GQpTO25FGTfRduAkPayVE2BWPePGyRK gME9OyZyRO2Bvg5NvBUmLnMg/g2IsC6ix1FpfAg8XaK+PjSEznOqGUqL60G9Ach1WIKwLTRPllbSe luGK6xSw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xXjdf-00000002LkW-1igS; Sun, 29 Nov 2026 18:28:39 +0000 Received: from tor.source.kernel.org ([172.105.4.254]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xXjda-00000002LjV-46iS for kexec@lists.infradead.org; Sun, 29 Nov 2026 18:28:37 +0000 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by tor.source.kernel.org (Postfix) with ESMTP id 21922611C4; Sun, 29 Nov 2026 18:28:34 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 277FD1F00896; Sun, 29 Nov 2026 18:28:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1795976913; bh=W5YcOtAwesC4xZYPwgGzk7XNl1VKi9Ili0deBo8Xn7k=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=DcmXaEfLh2EHL1zVSskmsBEzr2EBuSkk/ZduYVHLfRagEyMJrXTLy74KsIMMkg9w+ byQA2AT6Yh92eHwdrRT0zBTB9rXvzYEJqb5jNKC68sYkyWxxXRGAl3/kadbG2ZDdU8 VOGJLfHojHTZ9BHRGNiNJgBiqO/J8UmBK2VpI7KO+TfRbxfeEZo1t6cu9+xvZzr5vE 2cJyVHsyTakLkaHOdcLsPdSyCtS06XBrcpECDpqWVpT96xAt3J+Nlsh4DwmpmyJRaY 7mHrHax5BbjTcEBUYFoTzESpQUdLspcdCvSs6LJ5qioqT0/MpevsnOhtUACMOOPchU W7CdUHrtC6e9g== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH v2 1/7] kho: Reclaim the metadata page left reserved after kexec To: "Chris Down" , "Pasha Tatashin" , "Mike Rapoport" , "Pratyush Yadav" Cc: "Alexander Graf" , "Baoquan He" , "Jonathan Corbet" , "Shuah Khan" , kexec@lists.infradead.org, linux-mm@kvack.org, kernel-team@meta.com, "Breno Leitao" In-Reply-To: <4015fa169046f1ac59bf3d8b0218a2c2e6c7ed22.1795857773.git.chris@chrisdown.name> References: <4015fa169046f1ac59bf3d8b0218a2c2e6c7ed22.1795857773.git.chris@chrisdown.name> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Sun, 29 Nov 2026 18:28:32 +0000 X-BeenThere: kexec@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: sashiko-reviews@lists.linux.dev Sender: "kexec" X-Spam-Status: No, score=-10.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 X-Archived-By: 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") --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/cover.1795857773.gi= t.chris@chrisdown.name?part=3D1