]> www.infradead.org Git - users/hch/dma-mapping.git/commit
selftests: mm: fix the incorrect usage() info of khugepaged
authorNanyong Sun <sunnanyong@huawei.com>
Tue, 15 Oct 2024 02:02:57 +0000 (10:02 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Thu, 17 Oct 2024 07:28:11 +0000 (00:28 -0700)
commit3e822bed2fbd1527d88f483342b1d2a468520a9a
tree986438200af1f5b3f8408966483d5af8a0110884
parentcb2bb9c564acf45f1725696177fdb1bc067f4dbb
selftests: mm: fix the incorrect usage() info of khugepaged

The mount option of tmpfs should be huge=advise, not madvise which is not
supported and may mislead the users.

Link: https://lkml.kernel.org/r/20241015020257.139235-1-sunnanyong@huawei.com
Fixes: 1b03d0d558a2 ("selftests/vm: add thp collapse file and tmpfs testing")
Signed-off-by: Nanyong Sun <sunnanyong@huawei.com>
Reviewed-by: Baolin Wang <baolin.wang@linux.alibaba.com>
Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
Cc: Kefeng Wang <wangkefeng.wang@huawei.com>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Zach O'Keefe <zokeefe@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
tools/testing/selftests/mm/khugepaged.c