From patchwork Fri Sep 17 12:39:54 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: SeongJae Park X-Patchwork-Id: 12501941 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-19.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CE375C433EF for ; Fri, 17 Sep 2021 12:40:39 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 6FB4E610D1 for ; Fri, 17 Sep 2021 12:40:39 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 6FB4E610D1 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvack.org Received: by kanga.kvack.org (Postfix) id 172916B0072; Fri, 17 Sep 2021 08:40:39 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 122EA900002; Fri, 17 Sep 2021 08:40:39 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 011716B0074; Fri, 17 Sep 2021 08:40:38 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0232.hostedemail.com [216.40.44.232]) by kanga.kvack.org (Postfix) with ESMTP id E82EB6B0072 for ; Fri, 17 Sep 2021 08:40:38 -0400 (EDT) Received: from smtpin36.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id 8D10E2702E for ; Fri, 17 Sep 2021 12:40:38 +0000 (UTC) X-FDA: 78597024156.36.A5F4A3B Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf03.hostedemail.com (Postfix) with ESMTP id 36EAD30000B7 for ; Fri, 17 Sep 2021 12:40:38 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id AA4D2610C9; Fri, 17 Sep 2021 12:40:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1631882437; bh=JMN+cOzc4FEJ/rTXCOyd6vVaS2oETNboMyto2RaZsks=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ms1CaQw5Z5W22DHJxuKh+gkV+w5c4kppF6VL28aF7AWFF3RMXsGMDxOJEyJ3lr8fZ UkxGC0Y6D5+6GUdFL/QjTQNMQDyg8OA8KOA9FiZweZ2Oj9JXnuSnkupsXIBO/U4X17 QSrzz2M9+Jzgu044wXtCLnL5lPna0wjtsfhlKSgeynVPQqWRdRZ74A9/NRmaXyMyoj kmd1Bmaz+ZCULPa3+1S41hhq6fzom+kFlp3vNJcEE/TaarI52FctF3VOPeUT+qZzp+ 8BwOWoQWdPRqIAd6uXcnQe5YuDfxHB3uLO+3pQ8GHQMkRUPOnLUDfcfyYTI1RVn8no IxqEJAYZzmUcg== From: SeongJae Park To: akpm@linux-foundation.org Cc: corbet@lwn.net, sj@kernel.org, linux-damon@amazon.com, linux-mm@kvack.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, SeongJae Park Subject: [PATCH 1/5] Documentation/vm: Move user guides to admin-guide/mm/ Date: Fri, 17 Sep 2021 12:39:54 +0000 Message-Id: <20210917123958.3819-2-sj@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210917123958.3819-1-sj@kernel.org> References: <20210917123958.3819-1-sj@kernel.org> X-Rspamd-Server: rspam01 X-Rspamd-Queue-Id: 36EAD30000B7 Authentication-Results: imf03.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=ms1CaQw5; dmarc=pass (policy=none) header.from=kernel.org; spf=pass (imf03.hostedemail.com: domain of sj@kernel.org designates 198.145.29.99 as permitted sender) smtp.mailfrom=sj@kernel.org X-Stat-Signature: 1i7zrjwzdak449p1opnj5db97tbtsrr6 X-HE-Tag: 1631882438-144267 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: SeongJae Park Most memory management user guide documents are in 'admin-guide/mm/', but two of those are in 'vm/'. This commit moves the two docs into 'admin-guide/mm' for easier documents finding. Signed-off-by: SeongJae Park --- Documentation/admin-guide/mm/index.rst | 2 ++ .../{vm => admin-guide/mm}/swap_numa.rst | 0 .../{vm => admin-guide/mm}/zswap.rst | 0 Documentation/vm/index.rst | 26 ++++--------------- 4 files changed, 7 insertions(+), 21 deletions(-) rename Documentation/{vm => admin-guide/mm}/swap_numa.rst (100%) rename Documentation/{vm => admin-guide/mm}/zswap.rst (100%) diff --git a/Documentation/admin-guide/mm/index.rst b/Documentation/admin-guide/mm/index.rst index cbd19d5e625f..c21b5823f126 100644 --- a/Documentation/admin-guide/mm/index.rst +++ b/Documentation/admin-guide/mm/index.rst @@ -37,5 +37,7 @@ the Linux memory management. numaperf pagemap soft-dirty + swap_numa transhuge userfaultfd + zswap diff --git a/Documentation/vm/swap_numa.rst b/Documentation/admin-guide/mm/swap_numa.rst similarity index 100% rename from Documentation/vm/swap_numa.rst rename to Documentation/admin-guide/mm/swap_numa.rst diff --git a/Documentation/vm/zswap.rst b/Documentation/admin-guide/mm/zswap.rst similarity index 100% rename from Documentation/vm/zswap.rst rename to Documentation/admin-guide/mm/zswap.rst diff --git a/Documentation/vm/index.rst b/Documentation/vm/index.rst index b51f0d8992f8..6f5ffef4b716 100644 --- a/Documentation/vm/index.rst +++ b/Documentation/vm/index.rst @@ -3,27 +3,11 @@ Linux Memory Management Documentation ===================================== This is a collection of documents about the Linux memory management (mm) -subsystem. If you are looking for advice on simply allocating memory, -see the :ref:`memory_allocation`. - -User guides for MM features -=========================== - -The following documents provide guides for controlling and tuning -various features of the Linux memory management - -.. toctree:: - :maxdepth: 1 - - swap_numa - zswap - -Kernel developers MM documentation -================================== - -The below documents describe MM internals with different level of -details ranging from notes and mailing list responses to elaborate -descriptions of data structures and algorithms. +subsystem internals with different level of details ranging from notes and +mailing list responses for elaborating descriptions of data structures and +algorithms. If you are looking for advice on simply allocating memory, see the +:ref:`memory_allocation`. For controlling and tuning guides, see the +:doc:`admin guide <../admin-guide/mm/index>`. .. toctree:: :maxdepth: 1