diff options
| author | Kaitao Cheng <chengkaitao@kylinos.cn> | 2026-09-19 21:53:26 +0800 |
|---|---|---|
| committer | Mike Rapoport (Microsoft) <rppt@kernel.org> | 2026-10-13 12:45:55 +0300 |
| commit | fba3e86fb848f79c4573243affcd7d79d378958d (patch) | |
| tree | 16433bca938c49fd3b7c9015cef7a36d4cd7bd6a /include/linux | |
| parent | 063b5e8bbd216c27e885f45e29e23d053aa565fc (diff) | |
| download | linux-fba3e86fb848f79c4573243affcd7d79d378958d.tar.gz linux-fba3e86fb848f79c4573243affcd7d79d378958d.zip | |
memblock tests: Move exact nid tests to memblock_alloc_range_nid()
After memmap_alloc() stopped requesting allocations from an exact NUMA
node, memblock_alloc_exact_nid_raw() no longer has any in-kernel users
and is being removed.
Preserve coverage of exact-node allocation by converting the applicable
NUMA tests to call memblock_alloc_range_nid() with exact_nid set. Remove
the tests that depend on memblock_alloc_internal() retrying below
min_addr, as memblock_alloc_range_nid() treats its address range as a
hard constraint.
Remove the now-unused TEST_F_EXACT support from the shared allocation
tests.
Suggested-by: Lorenzo Stoakes <ljs@kernel.org>
Signed-off-by: Kaitao Cheng <chengkaitao@kylinos.cn>
Link: https://patch.msgid.link/20260919135327.74089-3-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
