Re: [PATCH v3 3/5] memblock tests: add bottom-up NUMA tests for memblock_alloc_exact_nid_raw

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 19.10.22 20:34, Rebecca Mckeever wrote:
Add tests for memblock_alloc_exact_nid_raw() where the simulated physical
memory is set up with multiple NUMA nodes. Additionally, all of these
tests set nid != NUMA_NO_NODE. These tests are run with a bottom-up
allocation direction.

The tested scenarios are:

Range unrestricted:
- region can be allocated in the specific node requested:
       + there are no previously reserved regions
       + the requested node is partially reserved but has enough space

Range restricted:
- region can be allocated in the specific node requested after dropping
   min_addr:
       + range partially overlaps with two different nodes, where the
         first node is the requested node
       + range partially overlaps with two different nodes, where the
         requested node ends before min_addr
       + range overlaps with multiple nodes along node boundaries, and
         the requested node ends before min_addr

Signed-off-by: Rebecca Mckeever <remckee0@xxxxxxxxx>
---


Acked-by: David Hildenbrand <david@xxxxxxxxxx>

--
Thanks,

David / dhildenb





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux