* [PATCH][next] selftests: khugepaged: fix spelling mistake "compount" -> "compound"
@ 2020-04-20 8:38 Colin King
2020-04-20 8:40 ` NAK: " Colin Ian King
0 siblings, 1 reply; 2+ messages in thread
From: Colin King @ 2020-04-20 8:38 UTC (permalink / raw)
To: Kirill A . Shutemov, Stephen Rothwell, Zi Yan, Andrew Morton,
William Kucharski, linux-kselftest
Cc: kernel-janitors, linux-kernel
From: Colin Ian King <colin.king@canonical.com>
There are three spelling mistakes in various messages. Fix these.
Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
tools/testing/selftests/vm/khugepaged.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tools/testing/selftests/vm/khugepaged.c b/tools/testing/selftests/vm/khugepaged.c
index 490055290d7f..35f0bfa77ce8 100644
--- a/tools/testing/selftests/vm/khugepaged.c
+++ b/tools/testing/selftests/vm/khugepaged.c
@@ -654,14 +654,14 @@ static void collapse_single_pte_entry_compound(void)
fail("Fail");
madvise(p, hpage_pmd_size, MADV_NOHUGEPAGE);
- printf("Split huge page leaving single PTE mapping compount page...");
+ printf("Split huge page leaving single PTE mapping compound page...");
madvise(p + page_size, hpage_pmd_size - page_size, MADV_DONTNEED);
if (!check_huge(p))
success("OK");
else
fail("Fail");
- if (wait_for_scan("Collapse PTE table with single PTE mapping compount page", p))
+ if (wait_for_scan("Collapse PTE table with single PTE mapping compound page", p))
fail("Timeout");
else if (check_huge(p))
success("OK");
@@ -685,7 +685,7 @@ static void collapse_full_of_compound(void)
else
fail("Fail");
- printf("Split huge page leaving single PTE page table full of compount pages...");
+ printf("Split huge page leaving single PTE page table full of compound pages...");
madvise(p, page_size, MADV_NOHUGEPAGE);
madvise(p, hpage_pmd_size, MADV_NOHUGEPAGE);
if (!check_huge(p))
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* NAK: [PATCH][next] selftests: khugepaged: fix spelling mistake "compount" -> "compound"
2020-04-20 8:38 [PATCH][next] selftests: khugepaged: fix spelling mistake "compount" -> "compound" Colin King
@ 2020-04-20 8:40 ` Colin Ian King
0 siblings, 0 replies; 2+ messages in thread
From: Colin Ian King @ 2020-04-20 8:40 UTC (permalink / raw)
To: Kirill A . Shutemov, Stephen Rothwell, Zi Yan, Andrew Morton,
William Kucharski, linux-kselftest
Cc: kernel-janitors, linux-kernel
On 20/04/2020 09:38, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> There are three spelling mistakes in various messages. Fix these.
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
> tools/testing/selftests/vm/khugepaged.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/tools/testing/selftests/vm/khugepaged.c b/tools/testing/selftests/vm/khugepaged.c
> index 490055290d7f..35f0bfa77ce8 100644
> --- a/tools/testing/selftests/vm/khugepaged.c
> +++ b/tools/testing/selftests/vm/khugepaged.c
> @@ -654,14 +654,14 @@ static void collapse_single_pte_entry_compound(void)
> fail("Fail");
> madvise(p, hpage_pmd_size, MADV_NOHUGEPAGE);
>
> - printf("Split huge page leaving single PTE mapping compount page...");
> + printf("Split huge page leaving single PTE mapping compound page...");
> madvise(p + page_size, hpage_pmd_size - page_size, MADV_DONTNEED);
> if (!check_huge(p))
> success("OK");
> else
> fail("Fail");
>
> - if (wait_for_scan("Collapse PTE table with single PTE mapping compount page", p))
> + if (wait_for_scan("Collapse PTE table with single PTE mapping compound page", p))
> fail("Timeout");
> else if (check_huge(p))
> success("OK");
> @@ -685,7 +685,7 @@ static void collapse_full_of_compound(void)
> else
> fail("Fail");
>
> - printf("Split huge page leaving single PTE page table full of compount pages...");
> + printf("Split huge page leaving single PTE page table full of compound pages...");
> madvise(p, page_size, MADV_NOHUGEPAGE);
> madvise(p, hpage_pmd_size, MADV_NOHUGEPAGE);
> if (!check_huge(p))
>
I found some more spelling miskages, I'll send a V2.
Colin
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-04-20 8:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-20 8:38 [PATCH][next] selftests: khugepaged: fix spelling mistake "compount" -> "compound" Colin King
2020-04-20 8:40 ` NAK: " Colin Ian King
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).