(I'm so sorry!) Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git

mm: Remove unused exact_nid parameter from memmap_alloc()

Commit ffe55393137c ("mm/sparse: remove sparse buffer pre-allocation mechanism") removed sparse_buffer_init(), which was the only caller of memmap_alloc() that passed true for exact_nid. All remaining callers pass false, leaving the exact-node allocation branch unreachable. Remove the exact_nid parameter and unconditionally use memblock_alloc_try_nid_raw(). This has no functional impact. Signed-off-by: Kaitao Cheng <chengkaitao@kylinos.cn> Link: https://patch.msgid.link/20260919135327.74089-2-kaitao.cheng@linux.dev Signed-off-by: Mike Rapoport (Microsoft) <rppt@kernel.org>


Author Kaitao Cheng Committer Mike Rapoport (Microsoft) Date Commit Parent 5728d352
+8 -29
4 changed files
+8 -29
4 changed files