Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2991807pxa; Tue, 18 Aug 2020 03:47:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJysHxX5jZ0cf4Jgt3oVur0GQrLwmL3NkIw51x95bO1J3LsWOdt/Ej6/icDaRXl7NWCoIu3D X-Received: by 2002:a50:f386:: with SMTP id g6mr20098574edm.354.1597747628976; Tue, 18 Aug 2020 03:47:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597747628; cv=none; d=google.com; s=arc-20160816; b=UYCvFGiAX80GsZGCakETOPUce/rpW3E6sy5qn5WPZILamR9uuMHgjhBFq83SXJpEI7 PoDa3D9Z1NKsN/7Nokc2t6qhkslX31kUDkLj4o66Fxd9We2FPqi3CAE5a4KHVwInT/7e G/W2w8OL8HNYloKl17E/yMK+rfyJ32NVitYYJcDQGnu4K/sbea/ezpf6pZyw48wOx/FO L8Vo0Q5psc27n8iPN6YNaO6I3glAQVShJ71YdQT+n+zuTo+bgBwLhXYKc4U7WFMxZHym JBVVkCYCC3zGW8EMrZQQO+5uuXooQftfhhp4TXfpE3rf4wNDgDq3kThohg2h6ZcyaKS/ PZyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=XSzbmUegtWkUKgGX9lnTVUb0F4kKAXPI/Vqj63k8RUU=; b=owWMewTbnE/fKhQliVa/J5NtDarRZhwSx52IQRmWbz5dX3yUyYBHTf03iKuFGlOybG M4f3X/HHc/PnpVcJ/3eFvyLhZWeUDqG5eAJuPowkZj3gI9YowI/m0un3dYMwG+c5QZ5B HA5/COsgK0sSOwUk9C/Oep/TvKCUOj1M35oAVGJWgJ8v1HNrWOB/VwOupd8gotizxe71 LRMEV1RTrKplzfY6WEELOJ9CbErCFHV40j+g/rX73FfoRo0trv0wt0k0Lx446BzIXX6d nyRGF2vf9Ak4IKl+g4mHRz599+/ZaTlQ5Gum6gNH9NNiQPau7tOZjgIuE+w0gPkL+2z+ e0uQ== ARC-Authentication-Results: i=1; mx.google.com; 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 o16si13036142edt.286.2020.08.18.03.46.45; Tue, 18 Aug 2020 03:47:08 -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; 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 S1726766AbgHRKoI (ORCPT + 99 others); Tue, 18 Aug 2020 06:44:08 -0400 Received: from mail.windriver.com ([147.11.1.11]:47119 "EHLO mail.windriver.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726473AbgHRKoI (ORCPT ); Tue, 18 Aug 2020 06:44:08 -0400 Received: from ALA-HCB.corp.ad.wrs.com (ala-hcb.corp.ad.wrs.com [147.11.189.41]) by mail.windriver.com (8.15.2/8.15.2) with ESMTPS id 07IAhrxr008368 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Tue, 18 Aug 2020 03:43:54 -0700 (PDT) Received: from pek-lpggp1.wrs.com (128.224.153.74) by ALA-HCB.corp.ad.wrs.com (147.11.189.41) with Microsoft SMTP Server id 14.3.487.0; Tue, 18 Aug 2020 03:43:40 -0700 From: To: , CC: , Subject: [PATCH v2] mm/memory: Fix typo in __do_fault() comment Date: Tue, 18 Aug 2020 18:43:39 +0800 Message-ID: <20200818104339.5310-1-yanfei.xu@windriver.com> X-Mailer: git-send-email 2.18.2 MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Yanfei Xu It's "pte_alloc_one", not "pte_alloc_pne". Let's fix that. Signed-off-by: Yanfei Xu Reviewed-by: David Hildenbrand --- v2: modify the commit message mm/memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/memory.c b/mm/memory.c index c3a83f4ca851..9cc3d0dc816c 100644 --- a/mm/memory.c +++ b/mm/memory.c @@ -3446,7 +3446,7 @@ static vm_fault_t __do_fault(struct vm_fault *vmf) * unlock_page(A) * lock_page(B) * lock_page(B) - * pte_alloc_pne + * pte_alloc_one * shrink_page_list * wait_on_page_writeback(A) * SetPageWriteback(B) -- 2.18.2