From patchwork Fri Feb 24 10:03:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Mike Rapoport X-Patchwork-Id: 13151083 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 9BEE1C64ED8 for ; Fri, 24 Feb 2023 10:03:28 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 103F96B009B; Fri, 24 Feb 2023 05:03:28 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 0B41E6B009D; Fri, 24 Feb 2023 05:03:28 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id EE5766B009E; Fri, 24 Feb 2023 05:03:27 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id DD0EE6B009B for ; Fri, 24 Feb 2023 05:03:27 -0500 (EST) Received: from smtpin13.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id 9DAC51C7209 for ; Fri, 24 Feb 2023 10:03:27 +0000 (UTC) X-FDA: 80501748054.13.45D69EE Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by imf28.hostedemail.com (Postfix) with ESMTP id 39210C0013 for ; Fri, 24 Feb 2023 10:03:23 +0000 (UTC) Authentication-Results: imf28.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=OqvMft38; spf=pass (imf28.hostedemail.com: domain of rppt@kernel.org designates 145.40.68.75 as permitted sender) smtp.mailfrom=rppt@kernel.org; dmarc=pass (policy=none) header.from=kernel.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1677233004; 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:dkim-signature; bh=2VWogFZPvjSYMJmKeecD/IDauMGJ1xt239XbFYPIftc=; b=jIzH4YSVtkgzQIOyBXp+AAzSgFXPVE8/2Mjm8ChdW/eLN6HVsFh2RGr1jptoXAqL/IrKgk +xssamE3BXIdjRMMRDVSCMtlFUbQKwvqJf6nHw6FXL5/HC+dBGLhG74gY77qZozKPnMYdI aPVQTFadfJ5RFLs3gzWQwNfBDOu7F6g= ARC-Authentication-Results: i=1; imf28.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=OqvMft38; spf=pass (imf28.hostedemail.com: domain of rppt@kernel.org designates 145.40.68.75 as permitted sender) smtp.mailfrom=rppt@kernel.org; dmarc=pass (policy=none) header.from=kernel.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1677233004; a=rsa-sha256; cv=none; b=bRc9bgCVrkeQOJ+hDZKABHUddB0wadOtTjDVA7NoD7kUZyE5klaIsx0x6v/we7PzCbsD22 khYYkUw5Bf/Z4oxTw06YmdWWNSyxniZzRhMI/HmOp2reFQt3CWAGUVyCWNePLwJp/pj+xX XAXFL0YIXC6ujsXVXlrhAmwWPmh4DBM= Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 40921B81AE7; Fri, 24 Feb 2023 10:03:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1C969C4339C; Fri, 24 Feb 2023 10:03:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1677233001; bh=JcaoNJrrzRyblpW44xrHcPtS0V3c05D77kFNfjfdkPI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=OqvMft38tVREJubaC2DooLNUN3Ztr+TBXiRP83DAotj2mkYrV5NPXCHw85IOEFV7b GDiow14+ht6yhJoK1ati/hFrGb7LZE4z6cw9rUTMSTng3mmssj0Y7TsEEKq2embSpF E2uEOFpfl9/0mozpXdUVe+yg1cphFMpUi1FYoeHWEZikXaees5sWHD/QGEDQ+CZLJ4 jpsEYunhrIDJ9M3UGARZYF0oxficE2snPIO8+zpAJ8UKR13aYZvjgCWJP32H26MGnq ApwM8ssuY8TwSYIv7AOHpZ7so+XjaCIx9nsYVXg8yDqE7RtdHpy8J50QHvQSDwiVY6 +3NAziroN2rbA== From: Mike Rapoport To: Jonathan Corbet Cc: kernel test robot , Mike Rapoport , linux-mm@kvack.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] docs/mm: hugetlbfs_reserv: fix a reference to a file that doesn't exist Date: Fri, 24 Feb 2023 12:03:06 +0200 Message-Id: <20230224100306.2287696-2-rppt@kernel.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20230224100306.2287696-1-rppt@kernel.org> References: <20230224100306.2287696-1-rppt@kernel.org> MIME-Version: 1.0 X-Rspamd-Server: rspam07 X-Rspamd-Queue-Id: 39210C0013 X-Rspam-User: X-Stat-Signature: ui7b83kuzpew7849i845ddgmy9sjbwoe X-HE-Tag: 1677233003-944967 X-HE-Meta: U2FsdGVkX1/iAz1mz90PFBCGyeklu9sh1QApD60ozwQgI8QpHahuoVi5zur4Ed8h+iyYt/BMIbnAJbRtIFQ4hWTwzmImS9qZXEAZ/hg2Q6zKXFQJ58OWYPowjuo0jycM7tBEan2INlE8QTKJCyJsAF6kwu4Hu7azVUMWA3K7NmDUlctXN0esEAxAw9RbT2EvalpMigDoP2xr81Gu4f+OszYtkZXrPOxmxraD/Tb4P/4b5puv52YVe5cMYwgMaZwoaWJU3ooG8a6G1juNlj3Kz20eK+XjDKpJnLOt5i5GFXpjDjlbva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wBPrky//z/Kag8bxTgo8dtG36nuZ4ILk6EUAbLhPISQJl/2UgB/gbsp2yDEIdyk4iGS3ix9+uuM8EBRnBYf5KkS+3go91LZIm6kLlccXn5uJ/Z7WVVlF2nZA== 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: From: "Mike Rapoport (IBM)" kbuild reports: >> Warning: Documentation/mm/hugetlbfs_reserv.rst references a file that doesn't exist: Documentation/mm/hugetlbpage.rst >> Warning: Documentation/translations/zh_CN/mm/hugetlbfs_reserv.rst references a file that doesn't exist: Documentation/mm/hugetlbpage.rst Fix the filename to be 'Documentation/admin-guide/mm/hugetlbpage.rst'. Reported-by: kernel test robot Link: https://lore.kernel.org/oe-kbuild-all/202302231854.sKlCmx9K-lkp@intel.com/ Fixes: ee86588960e2 ("docs/mm: remove useless markup") Signed-off-by: Mike Rapoport (IBM) --- Documentation/mm/hugetlbfs_reserv.rst | 8 ++++---- Documentation/translations/zh_CN/mm/hugetlbfs_reserv.rst | 3 ++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Documentation/mm/hugetlbfs_reserv.rst b/Documentation/mm/hugetlbfs_reserv.rst index 05a44760da32..f2fdcd637f97 100644 --- a/Documentation/mm/hugetlbfs_reserv.rst +++ b/Documentation/mm/hugetlbfs_reserv.rst @@ -5,10 +5,10 @@ Hugetlbfs Reservation Overview ======== -Huge pages as described at Documentation/mm/hugetlbpage.rst are typically -preallocated for application use. These huge pages are instantiated in a -task's address space at page fault time if the VMA indicates huge pages are -to be used. If no huge page exists at page fault time, the task is sent +Huge pages as described at Documentation/admin-guide/mm/hugetlbpage.rst are +typically preallocated for application use. These huge pages are instantiated +in a task's address space at page fault time if the VMA indicates huge pages +are to be used. If no huge page exists at page fault time, the task is sent a SIGBUS and often dies an unhappy death. Shortly after huge page support was added, it was determined that it would be better to detect a shortage of huge pages at mmap() time. The idea is that if there were not enough diff --git a/Documentation/translations/zh_CN/mm/hugetlbfs_reserv.rst b/Documentation/translations/zh_CN/mm/hugetlbfs_reserv.rst index 80787af29222..f1f0bdf27676 100644 --- a/Documentation/translations/zh_CN/mm/hugetlbfs_reserv.rst +++ b/Documentation/translations/zh_CN/mm/hugetlbfs_reserv.rst @@ -15,7 +15,8 @@ Hugetlbfs 预留 概述 ==== -Documentation/mm/hugetlbpage.rst 中描述的巨页通常是预先分配给应用程序使用的。如果VMA指 +Documentation/admin-guide/mm/hugetlbpage.rst +中描述的巨页通常是预先分配给应用程序使用的 。如果VMA指 示要使用巨页,这些巨页会在缺页异常时被实例化到任务的地址空间。如果在缺页异常 时没有巨页存在,任务就会被发送一个SIGBUS,并经常不高兴地死去。在加入巨页支 持后不久,人们决定,在mmap()时检测巨页的短缺情况会更好。这个想法是,如果