[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c9a2f7a6-f121-8cf0-4624-b02deccdaead@redhat.com>
Date: Mon, 31 Oct 2022 11:36:45 +0100
From: David Hildenbrand <david@...hat.com>
To: Rebecca Mckeever <remckee0@...il.com>,
Mike Rapoport <rppt@...nel.org>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3 2/5] memblock tests: add top-down NUMA tests for
memblock_alloc_exact_nid_raw
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 top-down
> 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@...il.com>
> ---
Acked-by: David Hildenbrand <david@...hat.com>
--
Thanks,
David / dhildenb
Powered by blists - more mailing lists