diff options
author | Claudio Migliorelli <[email protected]> | 2023-02-25 19:07:11 +0100 |
---|---|---|
committer | Mike Rapoport (IBM) <[email protected]> | 2023-05-24 11:56:30 +0300 |
commit | b842f4f55810b5d94dbbdda00f38dce38ec1bbb6 (patch) | |
tree | f5bf9847d618ae39540aeca3149e1bf3e02bff06 /tools/perf/util/trace-event-scripting.c | |
parent | 44c026a73be8038f03dbdeef028b642880cf1511 (diff) |
Add tests for memblock_alloc_node()
This test is aimed at verifying the memblock_alloc_node() to work as
expected, so setting the correct NUMA node for the new allocated
region. The memblock_alloc_node() is called directly without using any
stub. The core check is between the requested NUMA node and the `nid`
field inside the memblock_region structure. These two are supposed to
be equal for the test to succeed.
Signed-off-by: Claudio Migliorelli <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mike Rapoport (IBM) <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions