diff options
| author | Kaitao Cheng <chengkaitao@kylinos.cn> | 2026-09-19 21:53:25 +0800 |
|---|---|---|
| committer | Mike Rapoport (Microsoft) <rppt@kernel.org> | 2026-10-13 12:45:55 +0300 |
| commit | 063b5e8bbd216c27e885f45e29e23d053aa565fc (patch) | |
| tree | dbb8d55876aaafba58fa2a55f84ecf2fb54f3aea /include/linux | |
| parent | 5728d3523f12826a2b180c1c5738f74e33197e14 (diff) | |
| download | linux-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
