Something went wrong. Try again.
(I'm so sorry!) Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Something went wrong. Try again.
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 (Oct 13, 2026, 9:45 AM UTC) Commit
Copy SHA
Parent 5728d352 5728d3523f12826a2b180c1c5738f74e33197e14