mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-05-02 18:17:50 -04:00
selftests/mm/uffd: rename nr_cpus -> nr_parallel
A later commit will bound this variable so it no longer necessarily matches the number of CPUs. Rename it appropriately. Link: https://lkml.kernel.org/r/20250311-mm-selftests-v4-4-dec210a658f5@google.com Signed-off-by: Brendan Jackman <jackmanb@google.com> Reviewed-by: Dev Jain <dev.jain@arm.com> Cc: Lorenzo Stoakes <lorenzo.stoakes@oracle.com> Cc: Mateusz Guzik <mjguzik@gmail.com> Cc: Shuah Khan <shuah@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
This commit is contained in:
committed by
Andrew Morton
parent
f4b3e6c7f1
commit
f3b5535abc
@@ -198,7 +198,7 @@ uffd_setup_environment(uffd_test_args_t *args, uffd_test_case_t *test,
|
||||
|
||||
nr_pages = UFFD_TEST_MEM_SIZE / page_size;
|
||||
/* TODO: remove this global var.. it's so ugly */
|
||||
nr_cpus = 1;
|
||||
nr_parallel = 1;
|
||||
|
||||
/* Initialize test arguments */
|
||||
args->mem_type = mem_type;
|
||||
|
||||
Reference in New Issue
Block a user