From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A58E23148CF for ; Tue, 25 Nov 2025 11:09:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764068963; cv=none; b=q8qa6QW0EhBA3aDv8PS2P1ZjcCElYHM3CAXFbnZ+VyTMZDLlBBp6dN2Wsgn0eC9vCEixcatP1oZmXwzw+wE68C+WrqFfWMTHvM2fXf6gxWflUTUHaCjicXM3Mf/NFSdwQXwQH/lQVYQwDuA85Gy6P37UB7/9vZ0GDkDOTD1JJH0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764068963; c=relaxed/simple; bh=4DYDMnA92UpIobCeJ2W3qbFQ8fEUSrxC8a7VpGT6HT8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=EmXhsHrDL2Ck1AGGkl2A/K7H9wAk9ltfXAgs8p0kz01mit0C6mETcn0NcahVRX+FHCrm+lvWm0uu6Zj9u3QYjL2m62oqB7jGUSE6z+2ECmhkiZkVyhz8v97O9Gb6tnt0ewp/8klC+HHM7/Jwl7ev//aIhtihpd2KMCdYcn6/PpU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=RL/Otnym; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="RL/Otnym" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CE54CC4CEF1; Tue, 25 Nov 2025 11:09:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1764068963; bh=4DYDMnA92UpIobCeJ2W3qbFQ8fEUSrxC8a7VpGT6HT8=; h=From:To:Cc:Subject:Date:From; b=RL/OtnymtiOv/8oA1itc+piZB+wYOpkgu3xLOj1e7E8nx80Cp+tgIlY4xyPnfY4Jz 9GK+D/XjhmJvMRg/XywuiWp8uN6EXr5xDsRbDuFtyl45ebV5zXU3IuyNHHH48UOMsr NU+an4nUvUZ7i/mOBwYE76K13vWxU1OzjZtqnwk4E4Fu5svDQUcj0UTEZl7Snq14Vo idyLYUbEZqZs6cjowTbN8VunrI+7/83feOGnTwfqs/tyB/XHj3jQAlZYC3g03Mtxf9 Gt8nuwURHbjepkEiXrB3XDeEIDOefYTRDSpTUxXiC/ujRloxwi8lLgdAbXSJ5XKP2m 3F+OM4y/2lu0g== From: Mike Rapoport To: Andrew Morton Cc: Alexander Graf , Mike Rapoport , Pasha Tatashin , Pratyush Yadav , kexec@lists.infradead.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/2] kho: fixes for vmalloc restoration Date: Tue, 25 Nov 2025 13:09:15 +0200 Message-ID: <20251125110917.843744-1-rppt@kernel.org> X-Mailer: git-send-email 2.50.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: "Mike Rapoport (Microsoft)" Hi, Pratyush reported off-list that when kho_restore_vmalloc() is used to restore a vmalloc_huge() allocation it hits VM_BUG_ON() when we reconstruct the struct pages in kho_restore_pages(). These patches fix the issue. Mike Rapoport (Microsoft) (2): kho: kho_restore_vmalloc: fix initialization of pages array kho: fix restoring of contiguous ranges of order-0 pages kernel/liveupdate/kexec_handover.c | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) -- 2.50.1