[GIT PULL] memblock updates for v7.0-rc1

From: Mike Rapoport

Date: Sat Feb 14 2026 - 02:25:53 EST


Hi Linus,

The following changes since commit f8f9c1f4d0c7a64600e2ca312dec824a0bc2f1da:

Linux 6.19-rc3 (2025-12-28 13:24:26 -0800)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/rppt/memblock tags/memblock-v7.0-rc1

for you to fetch changes up to f56ccc32468ee7885d3a9175e7d2cb608d301521:

mm/memtest: add underflow detection for size calculation (2026-01-09 11:53:51 +0200)

----------------------------------------------------------------
memblock: updates for 7.0-rc1

* update tools/include/linux/mm.h to fix memblock tests compilation
* drop redundant struct page* parameter from memblock_free_pages() and get
struct page from the pfn
* add underflow detection for size calculation in memtest and warn about
underflow when VM_DEBUG is enabled

----------------------------------------------------------------
Kevin Lourenco (1):
mm/memtest: add underflow detection for size calculation

Mike Rapoport (Microsoft) (1):
memblock test: include <linux/sizes.h> from tools mm.h stub

Shengming Hu (1):
memblock: drop redundant 'struct page *' argument from memblock_free_pages()

mm/internal.h | 3 +--
mm/memblock.c | 4 ++--
mm/memtest.c | 2 ++
mm/mm_init.c | 5 +++--
tools/include/linux/mm.h | 1 +
tools/testing/memblock/internal.h | 3 +--
6 files changed, 10 insertions(+), 8 deletions(-)


--
Sincerely yours,
Mike.