Re: [PATCH] selftests/vm: Fix map_hugetlb length used for testing read and write

2020-02-27 Thread Christophe Leroy
Shuah, Le 06/02/2020 à 09:42, Christophe Leroy a écrit : Commit fa7b9a805c79 ("tools/selftest/vm: allow choosing mem size and page size in map_hugetlb") added the possibility to change the size of memory mapped for the test, but left the read and write test using the default value. This is

Re: [PATCH] selftests/vm: Fix map_hugetlb length used for testing read and write

2020-02-17 Thread Leonardo Bras
On Sat, 2020-02-15 at 03:49 -0300, Leonardo Bras wrote: > Hello Christophe, thank you for the patch. > > On Thu, 2020-02-06 at 08:42 +, Christophe Leroy wrote: > > Commit fa7b9a805c79 ("tools/selftest/vm: allow choosing mem size and > > page size in map_hugetlb") added the possibility to

Re: [PATCH] selftests/vm: Fix map_hugetlb length used for testing read and write

2020-02-14 Thread Leonardo Bras
Hello Christophe, thank you for the patch. On Thu, 2020-02-06 at 08:42 +, Christophe Leroy wrote: > Commit fa7b9a805c79 ("tools/selftest/vm: allow choosing mem size and > page size in map_hugetlb") added the possibility to change the size > of memory mapped for the test, but left the read and

[PATCH] selftests/vm: Fix map_hugetlb length used for testing read and write

2020-02-06 Thread Christophe Leroy
Commit fa7b9a805c79 ("tools/selftest/vm: allow choosing mem size and page size in map_hugetlb") added the possibility to change the size of memory mapped for the test, but left the read and write test using the default value. This is unnoticed when mapping a length greater than the default one,