add flag, so testcases can request nodes with available memory/cpus or both. Also add small debug function. Signed-off-by: Jan Stancek --- testcases/kernel/syscalls/numa/lib/numa_helper.c | 211 ++++++++++++++++------ testcases/kernel/syscalls/numa/lib/numa_helper.h | 8 +- 2 files changed, 162 insertions(+), 57 deletions(-)