mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-02 07:13:31 +01: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/[email protected] Signed-off-by: Brendan Jackman <[email protected]> Cc: Dev Jain <[email protected]> Cc: Lorenzo Stoakes <[email protected]> Cc: Mateusz Guzik <[email protected]> Cc: Shuah Khan <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
This commit is contained in:
1 parent
f3b5535abc
commit
db0f1c138f
1 file changed
+2
-1
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user