From patchwork Thu Nov 28 07:40:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baolin Wang X-Patchwork-Id: 13887738 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 826E2D690E3 for ; Thu, 28 Nov 2024 07:41:18 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 8A88A6B0092; Thu, 28 Nov 2024 02:41:06 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 8305E6B0093; Thu, 28 Nov 2024 02:41:06 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 6D1E66B0098; Thu, 28 Nov 2024 02:41:06 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by kanga.kvack.org (Postfix) with ESMTP id 49A116B0092 for ; Thu, 28 Nov 2024 02:41:06 -0500 (EST) Received: from smtpin15.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id 04480121A58 for ; Thu, 28 Nov 2024 07:41:05 +0000 (UTC) X-FDA: 82834707564.15.BB29902 Received: from out30-132.freemail.mail.aliyun.com (out30-132.freemail.mail.aliyun.com [115.124.30.132]) by imf07.hostedemail.com (Postfix) with ESMTP id 0E9AD40007 for ; Thu, 28 Nov 2024 07:40:56 +0000 (UTC) Authentication-Results: imf07.hostedemail.com; dkim=pass header.d=linux.alibaba.com header.s=default header.b=OAfM195T; spf=pass (imf07.hostedemail.com: domain of baolin.wang@linux.alibaba.com designates 115.124.30.132 as permitted sender) smtp.mailfrom=baolin.wang@linux.alibaba.com; dmarc=pass (policy=none) header.from=linux.alibaba.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1732779659; 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-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=YBH1XlSLL2miO3wN2ZfU4NokzBeaXtPrx3UOtdhUk6w=; b=JSWNLz9Z1J7lbhlZVWFg4+fizzJiKypdaSxA7HD/Fmn6IoMI7kZvekLSh5gSQG0a0JIsWz Zt3w2OMr9570ISAIU5GD0BOP83xw5jpHb3cdMTC0BLRlA5pSebcogIjwFohNnWqiXULrYV 0usyC1BlzYnWBLybkRlp9INON1iMZEk= ARC-Authentication-Results: i=1; imf07.hostedemail.com; dkim=pass header.d=linux.alibaba.com header.s=default header.b=OAfM195T; spf=pass (imf07.hostedemail.com: domain of baolin.wang@linux.alibaba.com designates 115.124.30.132 as permitted sender) smtp.mailfrom=baolin.wang@linux.alibaba.com; dmarc=pass (policy=none) header.from=linux.alibaba.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1732779659; a=rsa-sha256; cv=none; b=mMRmdFUaGvNAKwZt7Umv3LAIlfbVtfKKPQ/znyqpTbefV9FYnramg0wneAOMOsH/1qMLXP dN7mkCf7z23OTSViVjDyo3cFlc4YM+6Gzxgc1/UZYg1PEHWqk1R8rEF0yevihJwx4+H7+S +SIR416+m4HALGn8FngN56JB6kOHXVU= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.alibaba.com; s=default; t=1732779660; h=From:To:Subject:Date:Message-Id:MIME-Version; bh=YBH1XlSLL2miO3wN2ZfU4NokzBeaXtPrx3UOtdhUk6w=; b=OAfM195TByoWRUXBMsU/V8Cey2170MZdtGm46N8z+suE+te8rj7FsQpLPTVRb+ZKg6q0zb4MDb+X52uitEXGBfPKJKAug8nWlEqpjOemZctM8980eAysNwTd49ijk6cEnjEdOLeXP+Vjzcdir8zxgcayk/On9zCQFlvu5tMOGnA= Received: from localhost(mailfrom:baolin.wang@linux.alibaba.com fp:SMTPD_---0WKOunGS_1732779659 cluster:ay36) by smtp.aliyun-inc.com; Thu, 28 Nov 2024 15:41:00 +0800 From: Baolin Wang To: akpm@linux-foundation.org, hughd@google.com Cc: willy@infradead.org, david@redhat.com, wangkefeng.wang@huawei.com, 21cnbao@gmail.com, ryan.roberts@arm.com, ioworker0@gmail.com, da.gomez@samsung.com, baolin.wang@linux.alibaba.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 6/6] docs: tmpfs: drop 'fadvise()' from the documentation Date: Thu, 28 Nov 2024 15:40:44 +0800 Message-Id: <3a10bb49832f6d9827dc2c76aec0bf43a892876b.1732779148.git.baolin.wang@linux.alibaba.com> X-Mailer: git-send-email 2.39.3 In-Reply-To: References: MIME-Version: 1.0 X-Rspamd-Server: rspam05 X-Stat-Signature: juq3rjcfb4mgeqk7q6xpn5r15y7nxmox X-Rspamd-Queue-Id: 0E9AD40007 X-Rspam-User: X-HE-Tag: 1732779656-247649 X-HE-Meta: U2FsdGVkX1/M+2JLNDDcq2dPmjo51nbq/WcBghz+FSHZfMfHO+4oc+lFtnmiygEyB7uFUPmfK5Ef9t0hrl1d/mbcPkwDPME/mGI8nxghUn440IqIFh0C87E+l7o1BF+c24MHKY78/1Cm4grzSsj0NfwcoWkQyY8mtvjfJsXJ6WWhzYhqQAPhYea8s/6IIYeFzaW7wx+O9dJ+WYPBTO5U96LzQtfsEqueuGbPF0684XT2Bur8g8S1mnPwVqR/dbFOBXYbjfyMm7X9c9kwggrI7wWmAa8ubUT3rKfCiygZuqM72SVx+svGo0pBlgSLCSXiLomthpK0++QXIo4t22s9o48N6w9Vy3/dIIDW8vlYMszsfpfltmmf/l8t6n7meOJAVBaNdx5bBA6+1I3lJg3N8rh3ebZ9Qd+1GrQDkdH3FUg0KHGSpdMkevWZPkOl8hTMd8Ul2mg1n3r6fW1YBm9dDsk799Z6J93U9rMLMgjmXfxcifZITLv+9Ywnczy0+khyO4I8hWz19XF1alD5ME2d/QWnQK+PnAS1FNQQ5zLLONhMyVu4e+EBVA5g+glHE7b8FZfahCxZJM+spNag5WcxUWJ6+4oaqlis6HB8ub8yJgGA6sflQyDd/bnk2Mon2TzU0f/Ygw2uFUO8gDZH3pwuNoYlFjNMTiNNX28AfBuJ4XKnL4RRflo8QkmA0c6AfcYElqu/SUYLZeZw9DsGPalLQNZkca73Fw4oGJyQDPFHI+bX6dK3l1h1a+PsZlSY2S9VQbKNoaq51zu1VQYZFBay4T23Xh2lfRhQ7TI033wZwhNhklApd3CL5E4zOv0lNyBviyltdYlNIvzN1qKQQ5CNGWn4jY8X2w9LTSMBuNL5irVB8UVqq9Pe9I0x2A+w26F+hAAlulvjxP7zV6U1kWmK46y5M0BMbtZkPu54hwddlaPbEjtchXWFoN9Ps9Rt/Uja8oNsEPej7/qeB/7f5mj ACGjtGlT Wk7ubjSwJ8sXIIUFUZN+Q+hBOtIQU3ZMsOWJHNlOUOUPB/lDctKY8sWYf3998DywdMUoP4CJSSdG0BW41h+ycVG7fcUMehgqEYqxE8Wu5OTwDqLVT+1vjiaT3B2Kj0sKCbO+a5EQRgSU8l5ZeIvZPTWy5fNlB509O3QK3qHEtCdIs2bnnsTPWVC0vHbguxs6xaQTx/salnHLVmGxxCjiETE6dvgP0Oo4PnRoYMNYGGxpIgXh8wIuzBNdh2cgqO1rjgmWS61qw7smGvYWdudi0E0CVHw== 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: List-Subscribe: List-Unsubscribe: Drop 'fadvise()' from the doc, since fadvise() has no HUGEPAGE advise currently. Signed-off-by: Baolin Wang Reviewed-by: Barry Song Acked-by: David Hildenbrand --- Documentation/admin-guide/mm/transhuge.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Documentation/admin-guide/mm/transhuge.rst b/Documentation/admin-guide/mm/transhuge.rst index ba6edff728ed..333958ef0d5f 100644 --- a/Documentation/admin-guide/mm/transhuge.rst +++ b/Documentation/admin-guide/mm/transhuge.rst @@ -382,10 +382,10 @@ never within_size Only allocate huge page if it will be fully within i_size. - Also respect fadvise()/madvise() hints; + Also respect madvise() hints; advise - Only allocate huge pages if requested with fadvise()/madvise(); + Only allocate huge pages if requested with madvise(); Remember, that the kernel may use huge pages of all available sizes, and that no fine control as for the internal tmpfs mount is available. @@ -438,10 +438,10 @@ never within_size Only allocate huge page if it will be fully within i_size. - Also respect fadvise()/madvise() hints; + Also respect madvise() hints; advise - Only allocate huge pages if requested with fadvise()/madvise(); + Only allocate huge pages if requested with madvise(); Need of application restart ===========================