From patchwork Fri Jun 7 06:46:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kefeng Wang X-Patchwork-Id: 13689363 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id BD474C27C53 for ; Fri, 7 Jun 2024 06:47:20 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 347E36B0095; Fri, 7 Jun 2024 02:47:20 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 2F7A36B009B; Fri, 7 Jun 2024 02:47:20 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 1E6C06B009C; Fri, 7 Jun 2024 02:47:20 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id 01A9F6B0095 for ; Fri, 7 Jun 2024 02:47:19 -0400 (EDT) Received: from smtpin08.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id 703874181E for ; Fri, 7 Jun 2024 06:47:19 +0000 (UTC) X-FDA: 82203160998.08.A8EA000 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by imf28.hostedemail.com (Postfix) with ESMTP id 94AFEC000B for ; Fri, 7 Jun 2024 06:47:15 +0000 (UTC) Authentication-Results: imf28.hostedemail.com; dkim=none; dmarc=pass (policy=quarantine) header.from=huawei.com; spf=pass (imf28.hostedemail.com: domain of wangkefeng.wang@huawei.com designates 45.249.212.187 as permitted sender) smtp.mailfrom=wangkefeng.wang@huawei.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1717742837; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=bwcb0k9tvminxuOtsu631MbhuakPcHuWEsVHJwiavNY=; b=5kl0F5zhJe3WB05bQ8Y78WpwN+BRhiFmiuCNWYQhbYf9fp+KiqE/6XpE+E9IGrHkfsrqdz rDmikETMPGZhpGCXbIF+TsrzExJ/wvHiJDAasfv7b1Br1XLWPLdmXtl089eiKlVmANcAUZ OnYcgj8g9h88FtZvN4Sgn48D7nnLeIU= ARC-Authentication-Results: i=1; imf28.hostedemail.com; dkim=none; dmarc=pass (policy=quarantine) header.from=huawei.com; spf=pass (imf28.hostedemail.com: domain of wangkefeng.wang@huawei.com designates 45.249.212.187 as permitted sender) smtp.mailfrom=wangkefeng.wang@huawei.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1717742837; a=rsa-sha256; cv=none; b=FOXJTUDqBbqpSwNLAW5JXOLp8nb6H7SDSxUc6c8WdL2DQbs+VIJeiq7ME00Z1QhlSU1UIQ feMsmJua0MV9DMsbRsrNRxDGqzXmO3YR51gmReZF5HQYjtWAOLrw/LQTX8COAvaxflHNzh h2QUyKOLdDpANcqw6Rls0GntctC6cs4= Received: from mail.maildlp.com (unknown [172.19.163.252]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4VwWqP2j0vzwS1y; Fri, 7 Jun 2024 14:43:13 +0800 (CST) Received: from dggpemf100008.china.huawei.com (unknown [7.185.36.138]) by mail.maildlp.com (Postfix) with ESMTPS id 6D10618007E; Fri, 7 Jun 2024 14:47:12 +0800 (CST) Received: from localhost.localdomain (10.175.112.125) by dggpemf100008.china.huawei.com (7.185.36.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Fri, 7 Jun 2024 14:47:11 +0800 From: Kefeng Wang To: Andrew Morton CC: , Jonathan Corbet , , Kefeng Wang Subject: [PATCH] pin_user_pages: fix underline length Date: Fri, 7 Jun 2024 14:46:57 +0800 Message-ID: <20240607064657.681997-1-wangkefeng.wang@huawei.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20240604114822.2089819-5-wangkefeng.wang@huawei.com> References: <20240604114822.2089819-5-wangkefeng.wang@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.175.112.125] X-ClientProxiedBy: dggems702-chm.china.huawei.com (10.3.19.179) To dggpemf100008.china.huawei.com (7.185.36.138) X-Rspam-User: X-Rspamd-Server: rspam02 X-Rspamd-Queue-Id: 94AFEC000B X-Stat-Signature: qwji9zspqwkpfpsasdx9xk45itspthdc X-HE-Tag: 1717742835-286912 X-HE-Meta: U2FsdGVkX18DWSqMGJ2V3eO3rVYUy8I/dX3Ke83luNkg9TBCJrvdRZLMni1TsVuGaiWV38Dl8hG0wm7YMw3INtG/5BX5D2ynOyrYbmnu90jeMm1cUftxLyDzj3HvCTA9vqczQbRevTjCtuWKMU9WqQbd+kWPx5+nF0ccJhBvOHv5QQVhVphxjyq8ddPJ1G6ULwmX/syTndMDNvB77y0Co5z0viDOnsonF9wqs6PDIN5wI2i/EZ0drcpggpcMcmQvK00gkKWjBBQtrSqwTwjzg95g0Lf2ihooyRWXUnm1q46E40HiS92ixiVZCleFjKQJ2/KbqhHyjY3U8VMRC+ioYWzWLrz4kf/hpU/eTGv8P4ksBroFsTPph2ORh7iHhGp8Sy5WrhUNmqn4eScadik04MA98R6WjAVDHBNp5QyWR74+VgK9QWLUwT9aIJCVP9WdCVaKCI1QXzXkwv/WgcQwrhTokiPU/2aAJ8bOUubPJEAS6kqrKknSub3TcGjlP5tr8h1DK1zwP/BxbgDtxKP/ph4ScfeBhNcFyZPWLGljUwBuyv/HKi+5dhtz+sR8Qjr3J2H9xI56VtRHYCcXPMJq7afmYoPZ7KtSFqlaG7purEVlTg8V2t6G6dITU0sj0AfoF/dw01N6mhHysRtnaFqK/R4J/sk5Gb+LEo7LhdATbDdS/U4fK42algnKEA7ALykMjz+/NuGeJ70tOUqEjWV0op7O5vTgnSyJPzWVS8SyBS/058eL1PUo0MKywnAPzBpHeLSU7iHjflfAhWrFfzrR4q0UrOQnyu30aopLo3OS2m3TPLU7wTBbgQ1m+X+H6lLJaluj+f97uvQH6XtLccf5wKJgT6URvBNCNuFYsgt21YpDp39IvM7/RqNZWhn2EXWAmyyrZ657OW/36wNaDLC6jCgYmryTcVNfq6MXdE/revmg0NYDo6JSq8eFt1pq5sGRNmepNRuPHhbJUg1csEA zsP4aUGi XGpX0DwiGC61mz2dgUVTqhZRtxBfSZr/q2/hYLeA9kQ2o+lKEg9dAH2PdV3holDulJGhCAMBLo4cVfqAqPKYSKQvrs5/l27prRJXr7uaGqQbTvJWodFWtz6knOgd32Xdw2nJUq8xwd7WJZ30QGK2CfYCd6X7FsrGSv5jDWGbzygQ2AyQOLdboM4zWC0es/pRxoDWN X-Bogosity: Ham, tests=bogofilter, spamicity=0.000016, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: Documentation/core-api/pin_user_pages.rst:200: WARNING: Title underline too short. folio_maybe_dma_pinned(): the whole point of pinning =================================================== Signed-off-by: Kefeng Wang --- Andrew, please help to squash this into "mm: remove page_mkclean()", thansk. Documentation/core-api/pin_user_pages.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/core-api/pin_user_pages.rst b/Documentation/core-api/pin_user_pages.rst index 4e997b0b8487..c16ca163b55e 100644 --- a/Documentation/core-api/pin_user_pages.rst +++ b/Documentation/core-api/pin_user_pages.rst @@ -197,7 +197,7 @@ INCORRECT (uses FOLL_GET calls): put_page() folio_maybe_dma_pinned(): the whole point of pinning -=================================================== +==================================================== The whole point of marking folios as "DMA-pinned" or "gup-pinned" is to be able to query, "is this folio DMA-pinned?" That allows code such as folio_mkclean()