From patchwork Thu Jul 16 01:29:51 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 11666465 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3C12760D for ; Thu, 16 Jul 2020 01:29:59 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id F3DF520791 for ; Thu, 16 Jul 2020 01:29:58 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="KT7XpMtH" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org F3DF520791 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 41D7E6B0005; Wed, 15 Jul 2020 21:29:58 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 3A68C6B0007; Wed, 15 Jul 2020 21:29:58 -0400 (EDT) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 2BDB58D0001; Wed, 15 Jul 2020 21:29:58 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0023.hostedemail.com [216.40.44.23]) by kanga.kvack.org (Postfix) with ESMTP id 185596B0005 for ; Wed, 15 Jul 2020 21:29:58 -0400 (EDT) Received: from smtpin08.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id C2C272DFA for ; Thu, 16 Jul 2020 01:29:57 +0000 (UTC) X-FDA: 77042207634.08.stem33_4a0f65e26efe Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin08.hostedemail.com (Postfix) with ESMTP id A16141819E76F for ; Thu, 16 Jul 2020 01:29:57 +0000 (UTC) X-Spam-Summary: 1,0,0,f6eaa3edb026d74f,d41d8cd98f00b204,rdunlap@infradead.org,,RULES_HIT:41:152:355:379:472:800:854:960:966:973:988:989:1260:1277:1311:1313:1314:1345:1381:1431:1437:1515:1516:1518:1534:1542:1593:1594:1711:1730:1747:1777:1792:2196:2199:2393:2559:2562:2693:2897:3138:3139:3140:3141:3142:3354:3865:3866:3867:3868:3870:3871:3872:3874:4250:4321:4385:5007:6119:6261:6653:7576:7875:7903:7974:10004:10400:11026:11658:11914:12043:12296:12297:12438:12517:12519:12555:12679:12760:12986:13846:14093:14096:14097:14181:14394:14721:21080:21451:21627:21990:30054:30089,0,RBL:205.233.59.134:@infradead.org:.lbl8.mailshell.net-64.201.201.201 62.8.55.100;04yfu3wbq9ib586ztguwpecb4ij9dyp11s94teeupnt1ncuauh8aruecgjjp94m.cqjh4uwqho8otew8w9ci9xhh3byjdcysc4c5uibdisdcjgfkhxf4d1y5181pukg.o-lbl8.mailshell.net-223.238.255.100,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:neutral,Custom_rules:0:0:0,LFtime:23,LUA_SUMMARY:none X-HE-Tag: stem33_4a0f65e26efe X-Filterd-Recvd-Size: 3981 Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by imf23.hostedemail.com (Postfix) with ESMTP for ; Thu, 16 Jul 2020 01:29:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Date:Message-ID:To:Subject:From:Sender:Reply-To:Cc:Content-ID: Content-Description:In-Reply-To:References; bh=RjzKDjnTgPacZTqkbQ3FDGXw1GgG1R3oxYXg8khQZXA=; b=KT7XpMtHCBpZkzY5qmeBQ/rMiB XTnshJ+6tQtKLlb+e0CcqT1AqfF9u44ZDZdJVKY5RbtAHDFIEddXEDLEndRFjhWICtSg13UbeuKOJ 5OFlLf8JMGc/XPEvieZu3lwAeZZMt7uhWdnik1vc+165gfPTB+d9zpE4lp93zovANP4qIRtReSPOy 2S+uZHGxdh9QC7IWAYk65ojmJnH+T5LGh0Pn49ASNusLn/GF4NSNxLkDNLE3oi4CsgkbEvOlr5YaS wwjfRAf0SvkCGXC6fAMidG3WdmJByM216oqAUJpJow3fLeyBf3l2qWxe9cPLJMlVwwj15JRA8c0zZ 3yX+hV8A==; Received: from [2601:1c0:6280:3f0::19c2] by merlin.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1jvsig-0000Sy-U4; Thu, 16 Jul 2020 01:29:55 +0000 From: Randy Dunlap Subject: [PATCH] mm: drop duplicated words in To: LKML , Andrew Morton , Linux MM Message-ID: <2bb6e13e-44df-4920-52d9-4d3539945f73@infradead.org> Date: Wed, 15 Jul 2020 18:29:51 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 Content-Language: en-US X-Rspamd-Queue-Id: A16141819E76F X-Spamd-Result: default: False [0.00 / 100.00] X-Rspamd-Server: rspam01 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: From: Randy Dunlap Drop the doubled words "used" and "by". Drop the repeated acronym "TLB" and make several other fixes around it. (capital letters, spellos) Signed-off-by: Randy Dunlap Cc: Andrew Morton Cc: linux-mm@kvack.org Reviewed-by: SeongJae Park --- include/linux/pgtable.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) --- linux-next-20200714.orig/include/linux/pgtable.h +++ linux-next-20200714/include/linux/pgtable.h @@ -866,7 +866,7 @@ static inline void ptep_modify_prot_comm /* * No-op macros that just return the current protection value. Defined here - * because these macros can be used used even if CONFIG_MMU is not defined. + * because these macros can be used even if CONFIG_MMU is not defined. */ #ifndef pgprot_encrypted #define pgprot_encrypted(prot) (prot) @@ -1259,7 +1259,7 @@ static inline int pmd_trans_unstable(pmd * Technically a PTE can be PROTNONE even when not doing NUMA balancing but * the only case the kernel cares is for NUMA balancing and is only ever set * when the VMA is accessible. For PROT_NONE VMAs, the PTEs are not marked - * _PAGE_PROTNONE so by by default, implement the helper as "always no". It + * _PAGE_PROTNONE so by default, implement the helper as "always no". It * is the responsibility of the caller to distinguish between PROT_NONE * protections and NUMA hinting fault protections. */ @@ -1343,10 +1343,10 @@ static inline int pmd_free_pte_page(pmd_ /* * ARCHes with special requirements for evicting THP backing TLB entries can * implement this. Otherwise also, it can help optimize normal TLB flush in - * THP regime. stock flush_tlb_range() typically has optimization to nuke the - * entire TLB TLB if flush span is greater than a threshold, which will - * likely be true for a single huge page. Thus a single thp flush will - * invalidate the entire TLB which is not desitable. + * THP regime. Stock flush_tlb_range() typically has optimization to nuke the + * entire TLB if flush span is greater than a threshold, which will + * likely be true for a single huge page. Thus a single THP flush will + * invalidate the entire TLB which is not desirable. * e.g. see arch/arc: flush_pmd_tlb_range */ #define flush_pmd_tlb_range(vma, addr, end) flush_tlb_range(vma, addr, end)