summaryrefslogtreecommitdiff
path: root/mm/khugepaged.c
diff options
context:
space:
mode:
authorDev Jain <dev.jain@arm.com>2024-03-30 23:05:57 +0530
committerAndrew Morton <akpm@linux-foundation.org>2024-04-25 20:56:32 -0700
commite1e13262f0d6e58a6439d437c386bb3392aaca0b (patch)
treec47dc95aec86b62507b7b87cce8e9f042c5f81e0 /mm/khugepaged.c
parent7033c6cc96203eec738ff192829a18a4e12308dc (diff)
downloadlwn-e1e13262f0d6e58a6439d437c386bb3392aaca0b.tar.gz
lwn-e1e13262f0d6e58a6439d437c386bb3392aaca0b.zip
selftests/mm: mremap_test: use sscanf to parse /proc/self/maps
Enforce consistency across files by avoiding two separate functions to parse /proc/self/maps, replacing them with a simple sscanf(). Link: https://lkml.kernel.org/r/20240330173557.2697684-4-dev.jain@arm.com Signed-off-by: Dev Jain <dev.jain@arm.com> Cc: Anshuman Khandual <anshuman.khandual@arm.com> Cc: John Hubbard <jhubbard@nvidia.com> Cc: Kalesh Singh <kaleshsingh@google.com> Cc: Shuah Khan <shuah@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/khugepaged.c')
0 files changed, 0 insertions, 0 deletions