From patchwork Thu Apr 30 19:01:54 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Souptick Joarder X-Patchwork-Id: 11521229 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 CB5931392 for ; Thu, 30 Apr 2020 18:53:59 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 958E42082E for ; Thu, 30 Apr 2020 18:53:59 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="k942Q6I6" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 958E42082E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id C29118E0005; Thu, 30 Apr 2020 14:53:58 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id BBADC8E0001; Thu, 30 Apr 2020 14:53: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 A52E08E0005; Thu, 30 Apr 2020 14:53:58 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0176.hostedemail.com [216.40.44.176]) by kanga.kvack.org (Postfix) with ESMTP id 89F0A8E0001 for ; Thu, 30 Apr 2020 14:53:58 -0400 (EDT) Received: from smtpin21.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id 49453181AEF07 for ; Thu, 30 Apr 2020 18:53:58 +0000 (UTC) X-FDA: 76765420956.21.pipe33_79f3874279227 X-Spam-Summary: 10,1,0,1a955a4f3494f238,d41d8cd98f00b204,jrdr.linux@gmail.com,,RULES_HIT:41:355:379:541:800:960:973:988:989:1260:1345:1437:1535:1542:1711:1730:1747:1777:1792:2393:2559:2562:3138:3139:3140:3141:3142:3354:3865:3868:3870:3871:3872:3874:4250:4321:5007:6119:6261:6653:7514:9413:10007:11026:11658:11914:12043:12219:12296:12297:12438:12517:12519:12555:12895:13200:13229:14096:14181:14394:14687:14721:21080:21444:21451:21627:21666:21987:30054:30074,0,RBL:209.85.215.194:@gmail.com:.lbl8.mailshell.net-62.18.0.100 66.100.201.100,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fp,MSBL:0,DNSBL:neutral,Custom_rules:0:1:0,LFtime:24,LUA_SUMMARY:none X-HE-Tag: pipe33_79f3874279227 X-Filterd-Recvd-Size: 5285 Received: from mail-pg1-f194.google.com (mail-pg1-f194.google.com [209.85.215.194]) by imf08.hostedemail.com (Postfix) with ESMTP for ; Thu, 30 Apr 2020 18:53:57 +0000 (UTC) Received: by mail-pg1-f194.google.com with SMTP id t11so3245580pgg.2 for ; Thu, 30 Apr 2020 11:53:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=tCdxst5tczlIzqff4W9H4F8TmPvPw2gnTPXXKU2ofDs=; b=k942Q6I67iXZpEDFUoY2vP1Z0MQr4CFIWM41c8k6HZI0NszRzd6CMjjvwyTEV6spMf eZpRvIhTtI66G3uAlRd/OS3SJxrkGODFyqCokrKBWZxnInabbAejkY+Z3UuvtIwNHM/3 TAoeSX8dogOXWvCVG5g5roNH9ZaGGVmvwi7K+5e7oLEzrSyRu98d2hJMa9h5Nx9Af+Yy ezUv0L/4M0cwPJBAGJmRVLVwjDJ1w3lH/Sy5dCfTSF6QMDMybvJm37W/1u6zTG3oBjbP vNTjcUNIJbLhJsySvKF+BUJWEJomMXcQPWVkjQVlz+I98YvYLovpe2oM1eDJHlmcmmSh MXZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=tCdxst5tczlIzqff4W9H4F8TmPvPw2gnTPXXKU2ofDs=; b=oc4JPVdfAVcsUbTPF7aRq9pFkCzJ5VyJ19XW3uBwWD+zI3TVp7azHhxeKgJdX4zUDx tyC6G1MbJUmPMvNN8qI4WeLCO4TG5Zj6wGtjc2UXvYEZRKrR8Y67Rzh4g3U8O59mASx2 i37HYpfum8+eOCpnTkAsC9yaphjBticzJpVX10jEfFZG7SFeCEhNErXboHAd2avw3yv0 /NLxatuMEADFU5LJEJ03+a+baq2KfzeoP/jE3qcaIPDWxnjZMvSc+0kHIMIOPumgrroo FRu+gCZDexLCc0m4k+A1WvB/0O7nJ3LkJb0v3C1ntse6ZlzUQkfXNoAOXCcdFtuaWXCS 7hHw== X-Gm-Message-State: AGi0PuZs3lYxN9lIw/CCE5VfW0+c0dSPbNIkZRtEJPHGHWccLSQ/zfBk UskG2YLpknwkOQXi/rhVK7M= X-Google-Smtp-Source: APiQypJER8e+1f4K+e2eafBOds4s7QWdgQ8n+CkJbZ7ST7hs/yoSGxN2U2EYAeOCM1ljLV1AFCuy2Q== X-Received: by 2002:a63:f960:: with SMTP id q32mr295612pgk.357.1588272836781; Thu, 30 Apr 2020 11:53:56 -0700 (PDT) Received: from jordon-HP-15-Notebook-PC.domain.name ([122.167.43.171]) by smtp.gmail.com with ESMTPSA id g25sm427775pfo.150.2020.04.30.11.53.54 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Apr 2020 11:53:56 -0700 (PDT) From: Souptick Joarder To: akpm@linux-foundation.org Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, rdunlap@infradead.org, Souptick Joarder Subject: [PATCH] mm/gup.c: Corrected document reference path Date: Fri, 1 May 2020 00:31:54 +0530 Message-Id: <1588273314-3790-1-git-send-email-jrdr.linux@gmail.com> X-Mailer: git-send-email 1.9.1 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: Document path Documentation/vm/pin_user_pages.rst is not a correct reference and it should be Documentation/core-api/pin_user_pages.rst. Signed-off-by: Souptick Joarder Reviewed-by: Ira Weiny Reviewed-by: John Hubbard --- mm/gup.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/mm/gup.c b/mm/gup.c index 7ce796c..4952f12 100644 --- a/mm/gup.c +++ b/mm/gup.c @@ -2864,10 +2864,10 @@ int get_user_pages_fast(unsigned long start, int nr_pages, * the arguments here are identical. * * FOLL_PIN means that the pages must be released via unpin_user_page(). Please - * see Documentation/vm/pin_user_pages.rst for further details. + * see Documentation/core-api/pin_user_pages.rst for further details. * - * This is intended for Case 1 (DIO) in Documentation/vm/pin_user_pages.rst. It - * is NOT intended for Case 2 (RDMA: long-term pins). + * This is intended for Case 1 (DIO) in Documentation/core-api/pin_user_pages.rst. + * It is NOT intended for Case 2 (RDMA: long-term pins). */ int pin_user_pages_fast(unsigned long start, int nr_pages, unsigned int gup_flags, struct page **pages) @@ -2904,10 +2904,10 @@ int pin_user_pages_fast(unsigned long start, int nr_pages, * the arguments here are identical. * * FOLL_PIN means that the pages must be released via unpin_user_page(). Please - * see Documentation/vm/pin_user_pages.rst for details. + * see Documentation/core-api/pin_user_pages.rst for details. * - * This is intended for Case 1 (DIO) in Documentation/vm/pin_user_pages.rst. It - * is NOT intended for Case 2 (RDMA: long-term pins). + * This is intended for Case 1 (DIO) in Documentation/core-api/pin_user_pages.rst. + * It is NOT intended for Case 2 (RDMA: long-term pins). */ long pin_user_pages_remote(struct task_struct *tsk, struct mm_struct *mm, unsigned long start, unsigned long nr_pages, @@ -2940,10 +2940,10 @@ long pin_user_pages_remote(struct task_struct *tsk, struct mm_struct *mm, * FOLL_PIN is set. * * FOLL_PIN means that the pages must be released via unpin_user_page(). Please - * see Documentation/vm/pin_user_pages.rst for details. + * see Documentation/core-api/pin_user_pages.rst for details. * - * This is intended for Case 1 (DIO) in Documentation/vm/pin_user_pages.rst. It - * is NOT intended for Case 2 (RDMA: long-term pins). + * This is intended for Case 1 (DIO) in Documentation/core-api/pin_user_pages.rst. + * It is NOT intended for Case 2 (RDMA: long-term pins). */ long pin_user_pages(unsigned long start, unsigned long nr_pages, unsigned int gup_flags, struct page **pages,