mirror of
https://github.com/torvalds/linux.git
synced 2026-06-01 19:13:47 +02:00
selftests/mm: print some details when uffd-stress gets bad params
So this can be debugged more easily. Link: https://lkml.kernel.org/r/20250311-mm-selftests-v4-5-dec210a658f5@google.com Signed-off-by: Brendan Jackman <jackmanb@google.com> Cc: 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:
parent
f3b5535abc
commit
db0f1c138f
|
|
@ -457,7 +457,8 @@ int main(int argc, char **argv)
|
|||
|
||||
nr_pages_per_cpu = bytes / page_size / nr_parallel;
|
||||
if (!nr_pages_per_cpu) {
|
||||
_err("invalid MiB");
|
||||
_err("pages_per_cpu = 0, cannot test (%lu / %lu / %lu)",
|
||||
bytes, page_size, nr_parallel);
|
||||
usage();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user