Re: [LTP] [PATCH v6 1/2] cpuset02: Convert the test6 from cpuset_memory_testset.sh to C code

Petr Vorel
2025-03-06T18:36:04Z

Hi Wei,

> --- /dev/null
> +++ b/testcases/kernel/mem/cpuset/cpuset02.c
> @@ -0,0 +1,139 @@
> +// SPDX-License-Identifier: LGPL-2.1-or-later
> +/*
> + * Copyright (c) 2009 FUJITSU LIMITED Miao Xie <miaox@cn.fujitsu.com>
nit: You created a completely new test, just based on test6 from shell test.
I suggest instead of adding this copyright to add:
Based on test6 from cpuset_memory_testset.sh.

I can change it before merge.

> + * Copyright (c) 2023 SUSE LLC <wegao@suse.com>
> + */
> +
> +/*\
> + * Test checks cpuset.mems works with hugepage file.
> + */
> +

Reviewed-by: Petr Vorel <pvorel@suse.cz>

Kind regards,
Petr