| #
9588076f |
| 15-Apr-2026 |
Priyanshu Kumar <priyanshukumarpu@gmail.com> |
tools/testing/memblock: fix stale NUMA reservation tests
memblock allocations now reserve memory with MEMBLOCK_RSRV_KERN and, on NUMA configurations, record the requested node on the reserved region
tools/testing/memblock: fix stale NUMA reservation tests
memblock allocations now reserve memory with MEMBLOCK_RSRV_KERN and, on NUMA configurations, record the requested node on the reserved region. Several memblock simulator NUMA tests still expected merges that only worked before those reservation semantics changed, so the suite aborted even though the allocator behavior was correct.
Update the NUMA merge expectations in the memblock_alloc_try_nid() and memblock_alloc_exact_nid_raw() tests to match the current reserved region metadata rules. For cases that should still merge, create the pre-existing reservation with matching nid and MEMBLOCK_RSRV_KERN metadata. Also strengthen the memblock_alloc_node() coverage by checking the newly created reserved region directly instead of re-reading the source memory node descriptor.
Finally, drop the stale README/TODO notes that still claimed memblock_alloc_node() could not be tested.
The memblock simulator passes again with NUMA enabled after these updates.
Signed-off-by: Priyanshu Kumar <priyanshukumarpu@gmail.com> Link: https://patch.msgid.link/20260415122731.1768912-1-priyanshukumarpu@gmail.com [rppt: dropped unrelated changes] Signed-off-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
show more ...
|
| #
80c2fe02 |
| 07-Nov-2022 |
Rebecca Mckeever <remckee0@gmail.com> |
memblock tests: remove completed TODO item
Remove completed item from TODO list.
Reviewed-by: David Hildenbrand <david@redhat.com> Signed-off-by: Rebecca Mckeever <remckee0@gmail.com> Signed-off-by
memblock tests: remove completed TODO item
Remove completed item from TODO list.
Reviewed-by: David Hildenbrand <david@redhat.com> Signed-off-by: Rebecca Mckeever <remckee0@gmail.com> Signed-off-by: Mike Rapoport <rppt@linux.ibm.com> Link: https://lore.kernel.org/r/f2263abe45613b28f1583fbf04a4bffcf735bcf6.1667802195.git.remckee0@gmail.com
show more ...
|
| #
62a56c54 |
| 11-Oct-2022 |
Shaoqin Huang <shaoqin.huang@intel.com> |
memblock test: Update TODO list
Remove the completed items from TODO list.
Signed-off-by: Shaoqin Huang <shaoqin.huang@intel.com> Signed-off-by: Mike Rapoport <rppt@linux.ibm.com> Link: https://lor
memblock test: Update TODO list
Remove the completed items from TODO list.
Signed-off-by: Shaoqin Huang <shaoqin.huang@intel.com> Signed-off-by: Mike Rapoport <rppt@linux.ibm.com> Link: https://lore.kernel.org/r/20221011062128.49359-4-shaoqin.huang@intel.com
show more ...
|
| #
fe833b4e |
| 04-Jul-2022 |
Rebecca Mckeever <remckee0@gmail.com> |
memblock tests: remove completed TODO items
Remove completed items from TODO list.
Signed-off-by: Rebecca Mckeever <remckee0@gmail.com> Signed-off-by: Mike Rapoport <rppt@linux.ibm.com> Link: https
memblock tests: remove completed TODO items
Remove completed items from TODO list.
Signed-off-by: Rebecca Mckeever <remckee0@gmail.com> Signed-off-by: Mike Rapoport <rppt@linux.ibm.com> Link: https://lore.kernel.org/r/6a3e74fcb51a07e8d9fbbcbe84bdb8aa8b00e843.1656907314.git.remckee0@gmail.com
show more ...
|
| #
000605cd |
| 01-May-2022 |
Rebecca Mckeever <remckee0@gmail.com> |
memblock tests: remove completed TODO item
Remove completed item from TODO list.
Signed-off-by: Rebecca Mckeever <remckee0@gmail.com> Reviewed-by: David Hildenbrand <david@redhat.com> Signed-off-by
memblock tests: remove completed TODO item
Remove completed item from TODO list.
Signed-off-by: Rebecca Mckeever <remckee0@gmail.com> Reviewed-by: David Hildenbrand <david@redhat.com> Signed-off-by: Mike Rapoport <rppt@linux.ibm.com>
show more ...
|
| #
58ffc348 |
| 28-Feb-2022 |
Karolina Drobnik <karolinadrobnik@gmail.com> |
memblock tests: Add TODO and README files
Add description of the project, its structure and how to run it. List what is left to implement and what the known issues are.
Signed-off-by: Karolina Drob
memblock tests: Add TODO and README files
Add description of the project, its structure and how to run it. List what is left to implement and what the known issues are.
Signed-off-by: Karolina Drobnik <karolinadrobnik@gmail.com> Signed-off-by: Mike Rapoport <rppt@linux.ibm.com> Link: https://lore.kernel.org/r/d5e39b9f7dcef177ebc14282727447bc21e3b38f.1646055639.git.karolinadrobnik@gmail.com
show more ...
|