]> git.ipfire.org Git - thirdparty/linux.git/commit
selftests/mm: use generic read_sysfs in thuge-gen test
authorPu Lehui <pulehui@huawei.com>
Wed, 11 Jun 2025 10:01:06 +0000 (10:01 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Thu, 10 Jul 2025 05:42:07 +0000 (22:42 -0700)
commita788b6e571f3cb1aceb1611e97010be7334cbd63
tree8f0b83a25403bd0b18b65d5bba56ca6f1efc7761
parent4f8ba33bbdfc475fdc1ac5de6a93f5de93203ed5
selftests/mm: use generic read_sysfs in thuge-gen test

As generic read_sysfs is available in vm_utils, let's use is in thuge-gen
test.

Link: https://lkml.kernel.org/r/20250611100106.1331197-1-pulehui@huaweicloud.com
Signed-off-by: Pu Lehui <pulehui@huawei.com>
Reviewed-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Cc: Shuah Khan <shuah@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
tools/testing/selftests/mm/thuge-gen.c