From patchwork Fri Sep 28 05:34:41 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fengguang Wu X-Patchwork-Id: 10618931 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 68754174A for ; Fri, 28 Sep 2018 05:37:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 482A32B43F for ; Fri, 28 Sep 2018 05:37:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3C5882B2C1; Fri, 28 Sep 2018 05:37:44 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CCB3C2B43F for ; Fri, 28 Sep 2018 05:37:43 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 2BE718E0002; Fri, 28 Sep 2018 01:37:42 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 247D98E0001; Fri, 28 Sep 2018 01:37:42 -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 112708E0002; Fri, 28 Sep 2018 01:37:42 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from mail-pg1-f198.google.com (mail-pg1-f198.google.com [209.85.215.198]) by kanga.kvack.org (Postfix) with ESMTP id BE7708E0001 for ; Fri, 28 Sep 2018 01:37:41 -0400 (EDT) Received: by mail-pg1-f198.google.com with SMTP id a18-v6so5643653pgn.10 for ; Thu, 27 Sep 2018 22:37:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-original-authentication-results:x-gm-message-state:date:from:to :cc:subject:message-id:mime-version:content-disposition:user-agent; bh=U3JUzfHjMRbehro1+2lHFC53J0IaCbpfYWgN9wo1Cbc=; b=I3+uKnkMssuWXvOdXQaSUSdGk9gqnmaoDBkq/VKTt5MjGzxBulg57GLw2oRsTqtfHZ ujdrJEcOlPStMYwdf90A73+FoZ8JHbuntGOyfb9LdGDCICMTEh8fScfY3sIohIJXYxYl NZT4nHAx4QWJh/STUYUUHRoXH014jq2TqDJigKCvAZdMQHLTpFdSk0c+XeQD6e9UL9Ba p7pnb/mdTlfVxZswtsNx0NoXrY/pabaIIfs0UC0NVZ2GkXLxdwepcIUaTS/9eF8GQu7F 1wzQJVoStK6PK/Zecs36NxO97OyMKu2AUZq8AnrePvcxfZGL4iOT7tZ2o4LF2fIZqwdQ db5A== X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of fengguang.wu@intel.com designates 192.55.52.136 as permitted sender) smtp.mailfrom=fengguang.wu@intel.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com X-Gm-Message-State: ABuFfoi0t6Nnu/tXt+CIC8GrYG3WJglzZvQYu27yRW/928Nnc81hwKIb 0xXDj/KPc4O0a/yeZYoeIjyjwg6OzGmRofhJCn5hAjZxjYMdI4EjgDozk/bULbdKhPeIzDoPEpT 2bSiHf+US0oStLUHdfCWwN8jIq5IFOj0cyweh0nLZauZHeyjj2Rrc3jLHo0c92owDzw== X-Received: by 2002:a63:3cc:: with SMTP id 195-v6mr13505377pgd.262.1538113061443; Thu, 27 Sep 2018 22:37:41 -0700 (PDT) X-Google-Smtp-Source: ACcGV61MoMTM1BBcpu7Pe2Oqs24IqGTzjwKpVGxqBzF0kx9C1ddL7T8GAIg04gAyV4R8NOP9tgID X-Received: by 2002:a63:3cc:: with SMTP id 195-v6mr13505326pgd.262.1538113060651; Thu, 27 Sep 2018 22:37:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538113060; cv=none; d=google.com; s=arc-20160816; b=FAKwW9oHe8QfzvThdv2fxiKBnzhLmht1RdEC/b8hug/Ntb+RqXAv4owuOB4SZWOG15 AzG0zmV0cbVxPpBNX6twSlaaM/Xcyupg+CmIcRhA/usDeCdUobytSMcaDzrxNY50pniA vPJ8LyYJgi9kdIEfko/TlH3bV/NM7+RfcL+X+dyLZj293GwwwfgkZfATJBgGqawBRYsE fmmp8pNmz5C5OEQ4ZjqV0BWkjVscgCJ9UBSPtNsFcrirQToInVig7Stp6xermH3HJSKr fHqo6zTymNNHg3qD6BczLg+1vmuo6R0JwRa+E+3IhghZkzrHZZRPRbaqaGv8sbbzG6D3 Qhuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:content-disposition:mime-version:message-id:subject:cc :to:from:date; bh=U3JUzfHjMRbehro1+2lHFC53J0IaCbpfYWgN9wo1Cbc=; b=G2uRQGLFvtH8D0ScP/5TxL4A9wmF3EBQxYQOHa+6XHSR9X4zf21IFbyI12tIS32Fba qOUITa4CRKxRVFFAFPrwveAhuA62w0W7movinCeVDRZ9bVsN61R2fGsTzHPFb630W+MN Eh39Ay9mtICmoBQvzTn0t78OnFYfHETZg0H7sTwfqzR+2Bzj+7yBTJkKJv1KXsT6XOQ6 O1OPsWmjriOfelvBVa3mZSA++yDHYfjiVKI7L/Jiya5fPt5LaRyggqMwHh899OPT/d4h MUQlKr0SscDg7OXh5Fid+7VqqFsadpShzhU4icrzWBMftJs92X5tmVIBes7C2bcq2X/K miKA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of fengguang.wu@intel.com designates 192.55.52.136 as permitted sender) smtp.mailfrom=fengguang.wu@intel.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from mga12.intel.com (mga12.intel.com. [192.55.52.136]) by mx.google.com with ESMTPS id i21-v6si3951333pfo.333.2018.09.27.22.37.40 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 27 Sep 2018 22:37:40 -0700 (PDT) Received-SPF: pass (google.com: domain of fengguang.wu@intel.com designates 192.55.52.136 as permitted sender) client-ip=192.55.52.136; Authentication-Results: mx.google.com; spf=pass (google.com: domain of fengguang.wu@intel.com designates 192.55.52.136 as permitted sender) smtp.mailfrom=fengguang.wu@intel.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Sep 2018 22:37:39 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,313,1534834800"; d="scan'208";a="84109443" Received: from ali-mobl7.ccr.corp.intel.com (HELO wfg-t570.sh.intel.com) ([10.254.213.57]) by FMSMGA003.fm.intel.com with ESMTP; 27 Sep 2018 22:36:43 -0700 Received: from wfg by wfg-t570.sh.intel.com with local (Exim 4.89) (envelope-from ) id 1g5lQH-0003qg-Mv; Fri, 28 Sep 2018 13:34:41 +0800 Date: Fri, 28 Sep 2018 13:34:41 +0800 From: Fengguang Wu To: Jiri Kosina Cc: trivial@kernel.org, LKML , Linux Memory Management List Subject: [PATCH] mm: fix __get_user_pages_fast() comment Message-ID: <20180928053441.rpzwafzlsnp74mkl@wfg-t540p.sh.intel.com> MIME-Version: 1.0 Content-Disposition: inline User-Agent: NeoMutt/20170609 (1.8.3) 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: X-Virus-Scanned: ClamAV using ClamSMTP mmu_gather_tlb no longer exist. Replace with mmu_table_batch. CC: trivial@kernel.org Signed-off-by: Fengguang Wu --- mm/gup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mm/gup.c b/mm/gup.c index fc5f98069f4e..69194043ddd4 100644 --- a/mm/gup.c +++ b/mm/gup.c @@ -1798,8 +1798,8 @@ int __get_user_pages_fast(unsigned long start, int nr_pages, int write, * interrupts disabled by get_futex_key. * * With interrupts disabled, we block page table pages from being - * freed from under us. See mmu_gather_tlb in asm-generic/tlb.h - * for more details. + * freed from under us. See struct mmu_table_batch comments in + * include/asm-generic/tlb.h for more details. * * We do not adopt an rcu_read_lock(.) here as we also want to * block IPIs that come from THPs splitting.