Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp872405ybh; Wed, 15 Jul 2020 18:31:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyt4oSBThl3vw9jC0XX6c14nTanHqaNapbJ2bMKRI+AGS6BngzQq6MY/PjxI3aC8WV01KDZ X-Received: by 2002:a17:906:69d3:: with SMTP id g19mr1680980ejs.402.1594863085462; Wed, 15 Jul 2020 18:31:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594863085; cv=none; d=google.com; s=arc-20160816; b=HuEQZPvSkY7aGx4Fg0q5Krjv10qBpOWmXpmNgkxK6PFL3ge6lx2OuBMbmu3ZTnl+O3 S+zU1UTG/b6gqykRTtUUpQp5mqNSuAlkACiFgy0QTsHefNsysdkZVH2eim2dO+VFAEvT G9bKjI0BepmqpnC3i1/EOUA1L4M/7mYPViCq0pVmCvPMTWbAnvU1rFd8dmVv9iMEiH1v wG3Aaa9PwbC/QllLciWiTaVaMePFm2+bS8eg0/0X32yj6gyK4ysAyI7bNvhBoDMo7bHi 7R2E7DMzVr5LJoA6OEVecfvTHoOUbv8NF8RNcAGPgUfyI2+VJV625Jyohi6d5uMi5egd CA6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:mime-version:user-agent:date:message-id:to:subject :from:dkim-signature; bh=RjzKDjnTgPacZTqkbQ3FDGXw1GgG1R3oxYXg8khQZXA=; b=iMFbA6hS0+Xa6qX26i4gxFJxpEtbMBCPwQn5neG8Mth4cjLFNcYx4kujRMtQG+8jV3 Rc5mxvlbAFh0zdBKmiGhh/LB7568SjQGY9Hyp0WDD0oPF9uXJARkpWdOW3OGoMaEVFgk F2ZlwIhV+amsA6n7Ch46Hbu6PUR/W/18CqEaZoKIyoATHhBqJCYsDOH/txXWZlV097qL ovkXdaUbm6NoqPszYM/nP/NwXrPwopfP3rcCRYha1YsufeySHTkG2VX8fAQdyyr/L7Qk 5gy2FhHEbvBqbX8F1nGhxPwNYOuNp2Px/meh6S7Y/gUARLKcWXyaizNFvBrj5QpHlvAS ROPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=KT7XpMtH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p16si2330248edx.337.2020.07.15.18.31.03; Wed, 15 Jul 2020 18:31:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=KT7XpMtH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728097AbgGPB37 (ORCPT + 99 others); Wed, 15 Jul 2020 21:29:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40270 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727105AbgGPB36 (ORCPT ); Wed, 15 Jul 2020 21:29:58 -0400 Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5E1E4C061755 for ; Wed, 15 Jul 2020 18:29:58 -0700 (PDT) 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-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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)