Message ID | 20200926015814.whh8e1u2H%akpm@linux-foundation.org |
---|---|
State | Superseded |
Headers | show |
Series | [merged] selftests-vm-fix-display-of-page-size-in-map_hugetlb.patch removed from -mm tree | expand |
--- a/tools/testing/selftests/vm/map_hugetlb.c~selftests-vm-fix-display-of-page-size-in-map_hugetlb +++ a/tools/testing/selftests/vm/map_hugetlb.c @@ -83,7 +83,7 @@ int main(int argc, char **argv) } if (shift) - printf("%u kB hugepages\n", 1 << shift); + printf("%u kB hugepages\n", 1 << (shift - 10)); else printf("Default size hugepages\n"); printf("Mapping %lu Mbytes\n", (unsigned long)length >> 20);