[LTP] [PATCH 2/2] move_pages12: Increase loop count to 10,000
Li Wang
liwang@redhat.com
Thu Mar 20 02:43:57 CET 2025
On Thu, Mar 20, 2025 at 1:25 AM Martin Doucha <mdoucha@suse.cz> wrote:
> Since the test doesn't print hundreds of ENOMEM error messages anymore
> after the previous change, it now runs too fast to reproduce the SIGBUS
> bug. Increase loop count to make the bug reproducible again.
>
> Signed-off-by: Martin Doucha <mdoucha@suse.cz>
>
Reviewed-by: Li Wang <liwang@redhat.com>
---
> testcases/kernel/syscalls/move_pages/move_pages12.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/testcases/kernel/syscalls/move_pages/move_pages12.c
> b/testcases/kernel/syscalls/move_pages/move_pages12.c
> index a5454b1ec..440773a38 100644
> --- a/testcases/kernel/syscalls/move_pages/move_pages12.c
> +++ b/testcases/kernel/syscalls/move_pages/move_pages12.c
> @@ -74,7 +74,7 @@
>
> #ifdef HAVE_NUMA_V2
>
> -#define LOOPS 1000
> +#define LOOPS 10000
> #define PATH_MEMINFO "/proc/meminfo"
> #define PATH_NR_HUGEPAGES "/proc/sys/vm/nr_hugepages"
> #define PATH_HUGEPAGES "/sys/kernel/mm/hugepages/"
> --
> 2.47.0
>
>
> --
> Mailing list info: https://lists.linux.it/listinfo/ltp
>
>
--
Regards,
Li Wang
More information about the ltp
mailing list