Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp3122429ybn; Fri, 27 Sep 2019 01:12:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqycBnSKb8FbyRAxyTfXX46uHuXjXBgktyp7B/+c5s5hLeYG6ERq0jOqDKfefKAdw/DmS9UG X-Received: by 2002:a50:8a9a:: with SMTP id j26mr3079768edj.251.1569571925844; Fri, 27 Sep 2019 01:12:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569571925; cv=none; d=google.com; s=arc-20160816; b=xwI30gXKcaY/aPtKbQ0r9CJNvookOL4wFzt1Ny/OFH4+Byk8rd8+jTmJjB7AppDLDj vTMl/IZr4KzZl+kbp2v90ivJwgOG2cX1N+txOxVyJrFs4qUOVNjGHdZMTXVu2DRWBeT6 EH4jNHukdiuZPWN5INTaBrhX5nKuISFffZUo5cIA6ZexeZR46ZGx36jBDsRiuC98QNqb FdiD9fhg2sxLX1hMG9x4Fbz1pASffeMy6q0OLk3Tpxs8mDlnNXrbiWvVSzvadr/f0ujs e4KmkJB2fR60bUM/7RxZCiVrh1wRCKrH8EiJH4Q7ZYmiQgDx/P8l4s79OaVFV04ianWb Adaw== 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 :robot-unsubscribe:robot-id:message-id:mime-version:references :in-reply-to:cc:subject:to:reply-to:from:date; bh=hUW1vZxtQOkj797B613UBgnDD6vwn2K6BfgEP6ynN/c=; b=UHWJ6Hxi+3LbXXWRMV5DfhqhKqdXRrjVmBWwy9uaIwB84Syij8XO+8BdQWyhSdCiIw 3xPahZR38/1RW9WpqNbt8XOvhppBzMwRZrGjsxQU5zfLqOY1/S0Zid4I41XGz0kBWx0x DxOrvPfJJcEEb62TYxka9ET5UNXXOnyItVOLudPYaNpPFpptM8WLJtwcZt2ltJvpzgCt A0JgmoYgpa7xHz4w2ge/oj/bcLrdjxaZOVI6StxnGr7orL9r5qaBylk69NA2iaN4AzzL LQ7KgYYrXFnIb1R1aUQD2St/IDGlmvnDsy4LGlpzMVC65zRqXOPuLJfdoVZkZ6qt+lTe BDGA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f1si2333445ejw.217.2019.09.27.01.11.40; Fri, 27 Sep 2019 01:12:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727071AbfI0ILQ (ORCPT + 99 others); Fri, 27 Sep 2019 04:11:16 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:45313 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727061AbfI0ILP (ORCPT ); Fri, 27 Sep 2019 04:11:15 -0400 Received: from [5.158.153.53] (helo=tip-bot2.lab.linutronix.de) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1iDlL8-0005mg-AD; Fri, 27 Sep 2019 10:10:58 +0200 Received: from [127.0.1.1] (localhost [IPv6:::1]) by tip-bot2.lab.linutronix.de (Postfix) with ESMTP id EE9E01C073C; Fri, 27 Sep 2019 10:10:57 +0200 (CEST) Date: Fri, 27 Sep 2019 08:10:57 -0000 From: "tip-bot2 for Wei Yang" Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/mm] x86/mm: Fix function name typo in pmd_read_atomic() comment Cc: Wei Yang , Andy Lutomirski , Borislav Petkov , Dave Hansen , "H. Peter Anvin" , Linus Torvalds , Peter Zijlstra , Rik van Riel , Thomas Gleixner , Ingo Molnar , linux-kernel@vger.kernel.org In-Reply-To: <20190925014453.20236-1-richardw.yang@linux.intel.com> References: <20190925014453.20236-1-richardw.yang@linux.intel.com> MIME-Version: 1.0 Message-ID: <156957185789.9866.15298763161487547551.tip-bot2@tip-bot2> X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the x86/mm branch of tip: Commit-ID: a2f7a0bfcaaa3928e4876d15edd4dfdc09e139b6 Gitweb: https://git.kernel.org/tip/a2f7a0bfcaaa3928e4876d15edd4dfdc09e139b6 Author: Wei Yang AuthorDate: Wed, 25 Sep 2019 09:44:53 +08:00 Committer: Ingo Molnar CommitterDate: Wed, 25 Sep 2019 08:40:19 +02:00 x86/mm: Fix function name typo in pmd_read_atomic() comment The function involved should be pte_offset_map_lock() and we never have function pmd_offset_map_lock defined. Signed-off-by: Wei Yang Cc: Andy Lutomirski Cc: Borislav Petkov Cc: Dave Hansen Cc: H. Peter Anvin Cc: Linus Torvalds Cc: Peter Zijlstra Cc: Rik van Riel Cc: Thomas Gleixner Link: https://lkml.kernel.org/r/20190925014453.20236-1-richardw.yang@linux.intel.com [ Minor edits. ] Signed-off-by: Ingo Molnar --- arch/x86/include/asm/pgtable-3level.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/include/asm/pgtable-3level.h b/arch/x86/include/asm/pgtable-3level.h index e363379..1796462 100644 --- a/arch/x86/include/asm/pgtable-3level.h +++ b/arch/x86/include/asm/pgtable-3level.h @@ -44,10 +44,10 @@ static inline void native_set_pte(pte_t *ptep, pte_t pte) * pmd_populate rightfully does a set_64bit, but if we're reading the * pmd_t with a "*pmdp" on the mincore side, a SMP race can happen * because gcc will not read the 64bit of the pmd atomically. To fix - * this all places running pmd_offset_map_lock() while holding the + * this all places running pte_offset_map_lock() while holding the * mmap_sem in read mode, shall read the pmdp pointer using this * function to know if the pmd is null nor not, and in turn to know if - * they can run pmd_offset_map_lock or pmd_trans_huge or other pmd + * they can run pte_offset_map_lock() or pmd_trans_huge() or other pmd * operations. * * Without THP if the mmap_sem is hold for reading, the pmd can only