From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 EE6E93093C6 for ; Sat, 30 May 2026 16:40:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780159251; cv=none; b=khZl4vY5lJTx/YdoiL9HMOw6jUc69JYD3QN+AWobzYkzF3VoELcrysDE4wgJVucF9kYo7nE3PEDQ8Ym2zpp4XMgp8fPnh0JvGV+qP1uWYgXpHvOkXtZw27mlsoANC/lhwi7WPFxgeGMZduJ46h0CiiJNc1+smpejgEV0fxwcQPY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780159251; c=relaxed/simple; bh=+0kRCCCI6atVEF75pgyVOmrBjhOj4HlHqhmw3JtGaSk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=V3ohbsKV15ffpO4SI/O+lhI7q4ZPvh76yZ0uIvmGiM8Mm/RreVNv9jvPREoywU6uilu6dm0AoMMO6O958E3F5VyGzOGM6G50NU+zRi0FiYSrwBePAwtt3yGOessURsbOWwMKdNzQwHXu5+PgnLOMYHk/Ks8pXZQXPja8Uzbkumc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=hdCbWICb; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="hdCbWICb" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D64961F00898; Sat, 30 May 2026 16:40:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1780159250; bh=2zzjgsQUdD2nPmtqx/bwdNf+Rj3UakuTlFKNAWi0pfQ=; h=From:To:Cc:Subject:Date; b=hdCbWICbwFBa20wkKgcr++ZnmP3piO9vDq4VGmTwcpXetOni1Ua0+m2oFjEiRnPq2 obc4LNxxhkVwE9np0zbtoeP6gj0t029XK/xjy0VHFmW/8Y3U+03ioDITaQA6hV/a3k ksC7zQ6+HJmLFroRIq9zF9Wuo/AhIJU/vqZQLcwp3M9F7yIvJSkOK1zrt9cFAPsuKk h4A3zqUhuVJTHs688PotTEcUfzBEP84hB9drGjk3nO/+VCHn5EvCrr3tXXn8qH7azp YKPIm4x7q67aCkeiWZ2dqfmkuDD2v0b8jIsbcu2mic23lEnOFhDwQ/Abb3Mj5N9k3u +ENm6MaVxwLBg== From: Mike Rapoport To: Linus Torvalds Cc: Mike Rapoport , Andrew Morton , Breno Leitao , Waiman Long , linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: [GIT PULL] memblock: fix regression from memblock_free_late() refactoring Date: Sat, 30 May 2026 19:40:43 +0300 Message-ID: <20260530164044.1428118-1-rppt@kernel.org> X-Mailer: git-send-email 2.53.0 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) The following changes since commit 5d6919055dec134de3c40167a490f33c74c12581: Linux 7.1-rc3 (2026-05-10 14:08:09 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/rppt/memblock.git tags/fixes-2026-05-30 for you to fetch changes up to 7c2eee9c136734825ff524dd8b2146438a4f8250: memblock: don't touch memblock arrays when memblock_free() is called late (2026-05-25 20:48:14 +0300) ---------------------------------------------------------------- memblock: fix regression from memblock_free_late() refactoring After refactoring of memblock_free_late() and free_init_pages() it became possible to call memblock_free() after memblock init data was discarded. Make sure memblock_free() does not touch memblock.reserved unless it is called early enough or when ARCH_KEEP_MEMBLOCK is enabled. ---------------------------------------------------------------- Mike Rapoport (Microsoft) (1): memblock: don't touch memblock arrays when memblock_free() is called late mm/memblock.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)