From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 66B3FC433ED for ; Wed, 19 May 2021 01:43:25 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id D89BB61361 for ; Wed, 19 May 2021 01:43:24 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D89BB61361 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=huawei.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 71E228E0067; Tue, 18 May 2021 21:43:24 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 6CF218E002F; Tue, 18 May 2021 21:43:24 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 548668E0067; Tue, 18 May 2021 21:43:24 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0032.hostedemail.com [216.40.44.32]) by kanga.kvack.org (Postfix) with ESMTP id 1AD2D8E002F for ; Tue, 18 May 2021 21:43:24 -0400 (EDT) Received: from smtpin19.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id B8992180AD838 for ; Wed, 19 May 2021 01:43:23 +0000 (UTC) X-FDA: 78156283086.19.F5921E8 Received: from szxga07-in.huawei.com (szxga07-in.huawei.com [45.249.212.35]) by imf12.hostedemail.com (Postfix) with ESMTP id EB5F5794 for ; Wed, 19 May 2021 01:43:21 +0000 (UTC) Received: from dggems702-chm.china.huawei.com (unknown [172.30.72.59]) by szxga07-in.huawei.com (SkyGuard) with ESMTP id 4FlFtn2XbPzBvcH; Wed, 19 May 2021 09:40:33 +0800 (CST) Received: from dggpemm500006.china.huawei.com (7.185.36.236) by dggems702-chm.china.huawei.com (10.3.19.179) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Wed, 19 May 2021 09:43:19 +0800 Received: from [127.0.0.1] (10.174.177.72) by dggpemm500006.china.huawei.com (7.185.36.236) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Wed, 19 May 2021 09:43:19 +0800 Subject: Re: [PATCH 2/2] mm: fix spelling mistakes in under directory mm To: Souptick Joarder CC: Andrew Morton , Naoya Horiguchi , linux-mm References: <20210517065155.7257-1-thunder.leizhen@huawei.com> <20210517065155.7257-3-thunder.leizhen@huawei.com> From: "Leizhen (ThunderTown)" Message-ID: <1d64be67-f1dc-5194-e154-47798f8c048d@huawei.com> Date: Wed, 19 May 2021 09:43:18 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.174.177.72] X-ClientProxiedBy: dggems706-chm.china.huawei.com (10.3.19.183) To dggpemm500006.china.huawei.com (7.185.36.236) X-CFilter-Loop: Reflected X-Rspamd-Queue-Id: EB5F5794 Authentication-Results: imf12.hostedemail.com; dkim=none; dmarc=pass (policy=none) header.from=huawei.com; spf=pass (imf12.hostedemail.com: domain of thunder.leizhen@huawei.com designates 45.249.212.35 as permitted sender) smtp.mailfrom=thunder.leizhen@huawei.com X-Rspamd-Server: rspam04 X-Stat-Signature: ofond6cm3c8xzbpkkjc8nrkbp8oau38i X-HE-Tag: 1621388601-997288 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On 2021/5/19 3:41, Souptick Joarder wrote: > On Mon, May 17, 2021 at 12:22 PM Zhen Lei wrote: >> >> Fix some spelling mistakes in comments: >> posion ==> poison >> higer ==> higher >> precisly ==> precisely >> wont ==> won't >> tha ==> the >> endianess ==> endianness >> >> Signed-off-by: Zhen Lei > > This can be merged with [1/2]. OK, I will send V2. >> --- >> mm/internal.h | 2 +- >> mm/memory-failure.c | 2 +- >> mm/memory_hotplug.c | 4 ++-- >> mm/page_alloc.c | 2 +- >> mm/swap.c | 2 +- >> mm/swapfile.c | 2 +- >> 6 files changed, 7 insertions(+), 7 deletions(-) >> >> diff --git a/mm/internal.h b/mm/internal.h >> index 54bd0dc2c23c..e64e72782978 100644 >> --- a/mm/internal.h >> +++ b/mm/internal.h >> @@ -100,7 +100,7 @@ static inline void set_page_refcounted(struct page *page) >> * When kernel touch the user page, the user page may be have been marked >> * poison but still mapped in user space, if without this page, the kernel >> * can guarantee the data integrity and operation success, the kernel is >> - * better to check the posion status and avoid touching it, be good not to >> + * better to check the poison status and avoid touching it, be good not to >> * panic, coredump for process fatal signal is a sample case matching this >> * scenario. Or if kernel can't guarantee the data integrity, it's better >> * not to call this function, let kernel touch the poison page and get to >> diff --git a/mm/memory-failure.c b/mm/memory-failure.c >> index 85ad98c00fd9..8e06c6998fb9 100644 >> --- a/mm/memory-failure.c >> +++ b/mm/memory-failure.c >> @@ -1134,7 +1134,7 @@ static bool hwpoison_user_mappings(struct page *p, unsigned long pfn, >> * could potentially call huge_pmd_unshare. Because of >> * this, take semaphore in write mode here and set >> * TTU_RMAP_LOCKED to indicate we have taken the lock >> - * at this higer level. >> + * at this higher level. >> */ >> mapping = hugetlb_page_mapping_lock_write(hpage); >> if (mapping) { >> diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c >> index 70620d0dd923..02f8073a364f 100644 >> --- a/mm/memory_hotplug.c >> +++ b/mm/memory_hotplug.c >> @@ -913,7 +913,7 @@ int __ref online_pages(unsigned long pfn, unsigned long nr_pages, struct zone *z >> >> /* >> * {on,off}lining is constrained to full memory sections (or more >> - * precisly to memory blocks from the user space POV). >> + * precisely to memory blocks from the user space POV). >> * memmap_on_memory is an exception because it reserves initial part >> * of the physical memory space for vmemmaps. That space is pageblock >> * aligned. >> @@ -1703,7 +1703,7 @@ int __ref offline_pages(unsigned long start_pfn, unsigned long nr_pages) >> >> /* >> * {on,off}lining is constrained to full memory sections (or more >> - * precisly to memory blocks from the user space POV). >> + * precisely to memory blocks from the user space POV). >> * memmap_on_memory is an exception because it reserves initial part >> * of the physical memory space for vmemmaps. That space is pageblock >> * aligned. >> diff --git a/mm/page_alloc.c b/mm/page_alloc.c >> index aaa1655cf682..a16f8f3f9e80 100644 >> --- a/mm/page_alloc.c >> +++ b/mm/page_alloc.c >> @@ -3103,7 +3103,7 @@ static void __drain_all_pages(struct zone *zone, bool force_all_cpus) >> int cpu; >> >> /* >> - * Allocate in the BSS so we wont require allocation in >> + * Allocate in the BSS so we won't require allocation in >> * direct reclaim path for CONFIG_CPUMASK_OFFSTACK=y >> */ >> static cpumask_t cpus_with_pcps; >> diff --git a/mm/swap.c b/mm/swap.c >> index dfb48cf9c2c9..d35b8d615248 100644 >> --- a/mm/swap.c >> +++ b/mm/swap.c >> @@ -554,7 +554,7 @@ static void lru_deactivate_file_fn(struct page *page, struct lruvec *lruvec) >> } else { >> /* >> * The page's writeback ends up during pagevec >> - * We moves tha page into tail of inactive. >> + * We moves the page into tail of inactive. > > *we move the page into tail of inactive* Good eye! > >> */ >> add_page_to_lru_list_tail(page, lruvec); >> __count_vm_events(PGROTATED, nr_pages); >> diff --git a/mm/swapfile.c b/mm/swapfile.c >> index 149e77454e3c..88a6f01cfb88 100644 >> --- a/mm/swapfile.c >> +++ b/mm/swapfile.c >> @@ -2972,7 +2972,7 @@ static unsigned long read_swap_header(struct swap_info_struct *p, >> return 0; >> } >> >> - /* swap partition endianess hack... */ >> + /* swap partition endianness hack... */ >> if (swab32(swap_header->info.version) == 1) { >> swab32s(&swap_header->info.version); >> swab32s(&swap_header->info.last_page); >> -- >> 2.25.1 >> >> >> > > . >