summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorKaitao Cheng <chengkaitao@kylinos.cn>2026-09-19 21:53:25 +0800
committerMike Rapoport (Microsoft) <rppt@kernel.org>2026-10-13 12:45:55 +0300
commit063b5e8bbd216c27e885f45e29e23d053aa565fc (patch)
treedbb8d55876aaafba58fa2a55f84ecf2fb54f3aea /include/linux
parent5728d3523f12826a2b180c1c5738f74e33197e14 (diff)
downloadlinux-063b5e8bbd216c27e885f45e29e23d053aa565fc.tar.gz
linux-063b5e8bbd216c27e885f45e29e23d053aa565fc.zip
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>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions