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 From patchwork Fri Sep 17 12:39:55 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: SeongJae Park X-Patchwork-Id: 12501943 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,SPF_PASS,URIBL_BLOCKED,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 20518C43219 for ; Fri, 17 Sep 2021 12:40:43 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id CA802610C9 for ; Fri, 17 Sep 2021 12:40:42 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org CA802610C9 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 654876B0073; Fri, 17 Sep 2021 08:40:42 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 6048D6B0074; Fri, 17 Sep 2021 08:40:42 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 4CC066B0075; Fri, 17 Sep 2021 08:40:42 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0073.hostedemail.com [216.40.44.73]) by kanga.kvack.org (Postfix) with ESMTP id 3FE736B0073 for ; Fri, 17 Sep 2021 08:40:42 -0400 (EDT) Received: from smtpin38.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id E80EB3C7CA for ; Fri, 17 Sep 2021 12:40:41 +0000 (UTC) X-FDA: 78597024282.38.92F80AC Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf29.hostedemail.com (Postfix) with ESMTP id A6F4890001BC for ; Fri, 17 Sep 2021 12:40:41 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id 67AE861056; Fri, 17 Sep 2021 12:40:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1631882441; bh=GpbIfTwiOxJQ58oOMSj9bCULmIYxFlhQkyVYakO9X7s=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Y74HdFLgB9h3PGYjJYP6KC7Ne4oDYVeOZiLLjTj8J684BLLxYrjZFT86f/wFUENv7 AYCDhsXMv4hA1Ac5bmBuzxnk5nIzYn7nGiZEq6O5Zw0/m7vImOlfUwL4I9I8QcIvUc 4KzY4u+nPFwnc/EV0W98mSxEVegQWQg92CfZa2NugzSz3Gk0R3cztMbZbklPhbFJ7l fhVGpbx2No+v547iRKi9gIiGGsQexuW2IikdlMxC6MmB5pUyayXa31WhDgwZcJMao+ mhDOffbeZvRhJY6KzlAFHu4+caU+NieIFOXR9nF+kruGy26PQN2TLzH3UmkTVjI74p rp0RS435dCHUw== 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 Subject: [PATCH 2/5] MAINTAINERS: Update SeongJae's email address Date: Fri, 17 Sep 2021 12:39:55 +0000 Message-Id: <20210917123958.3819-3-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: rspam05 X-Rspamd-Queue-Id: A6F4890001BC X-Stat-Signature: uyba9tby51rjpgao46w7u63f3ckyezo6 Authentication-Results: imf29.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=Y74HdFLg; spf=pass (imf29.hostedemail.com: domain of sj@kernel.org designates 198.145.29.99 as permitted sender) smtp.mailfrom=sj@kernel.org; dmarc=pass (policy=none) header.from=kernel.org X-HE-Tag: 1631882441-999392 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: This commit updates SeongJae's email address in MAINTAINERS file to his preferred one. Signed-off-by: SeongJae Park --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index d05b4e35e63f..774b6aac16ef 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -5163,7 +5163,7 @@ F: net/ax25/ax25_timer.c F: net/ax25/sysctl_net_ax25.c DATA ACCESS MONITOR -M: SeongJae Park +M: SeongJae Park L: linux-mm@kvack.org S: Maintained F: Documentation/admin-guide/mm/damon/ From patchwork Fri Sep 17 12:39:56 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: SeongJae Park X-Patchwork-Id: 12501945 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,SPF_PASS,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 E49B2C4167D for ; Fri, 17 Sep 2021 12:40:44 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id AE70661212 for ; Fri, 17 Sep 2021 12:40:44 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org AE70661212 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 4F56D6B0074; Fri, 17 Sep 2021 08:40:44 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 4A4866B0075; Fri, 17 Sep 2021 08:40:44 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 395D46B0078; Fri, 17 Sep 2021 08:40:44 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0222.hostedemail.com [216.40.44.222]) by kanga.kvack.org (Postfix) with ESMTP id 2760D6B0074 for ; Fri, 17 Sep 2021 08:40:44 -0400 (EDT) Received: from smtpin21.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id E11D98245578 for ; Fri, 17 Sep 2021 12:40:43 +0000 (UTC) X-FDA: 78597024366.21.66357B0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf10.hostedemail.com (Postfix) with ESMTP id 9646B6001984 for ; Fri, 17 Sep 2021 12:40:43 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id 43BDF61244; Fri, 17 Sep 2021 12:40:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1631882442; bh=7I3VN2TJr2FWD8F9+tCl5FdS9G4uwRCLDG9GEssTxlk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=K2tPbJpUEemc4NZxEDcav+iPOgDR39LxtI+S5VMmeBLxMqWfoYuBgY6rvi+5Ryz2K FYWjgJlH7Pwax8qJwe7wJx+hSr/VM6T/vQTfdvRLRF0ebsauvsH4veTEOdPuZ6tLJX vKCnlPDc+bf9yrGhv5p6+UvjVRelrdTPVyc4W8jQwQ1cMB47ktmtwuPJjgjzSs7vL+ Jz+sES+t5K9EaduUu+fYHsm9wN2hi8oZ4Xxkonwk7vvghPKD4aOGRgfHCFhbGw4/yo WMoGGYo6aGXBYumqnb02wFPOTYLyB0Gw+6w2w9azARB6JTyg833/moXWwvfQf4tcuv nx6ZB230B5JYQ== 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 3/5] docs/vm/damon: Remove broken reference Date: Fri, 17 Sep 2021 12:39:56 +0000 Message-Id: <20210917123958.3819-4-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: rspam04 X-Rspamd-Queue-Id: 9646B6001984 X-Stat-Signature: scqmse9fz3wr37f9f4mut7z5yu8zkqnm Authentication-Results: imf10.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=K2tPbJpU; spf=pass (imf10.hostedemail.com: domain of sj@kernel.org designates 198.145.29.99 as permitted sender) smtp.mailfrom=sj@kernel.org; dmarc=pass (policy=none) header.from=kernel.org X-HE-Tag: 1631882443-440060 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 Building DAMON documents warns for a reference to nonexisting doc, as below: $ time make htmldocs [...] Documentation/vm/damon/index.rst:24: WARNING: toctree contains reference to nonexisting document 'vm/damon/plans' This commit fixes the warning by removing the wrong reference. Signed-off-by: SeongJae Park --- Documentation/vm/damon/index.rst | 1 - 1 file changed, 1 deletion(-) diff --git a/Documentation/vm/damon/index.rst b/Documentation/vm/damon/index.rst index a2858baf3bf1..48c0bbff98b2 100644 --- a/Documentation/vm/damon/index.rst +++ b/Documentation/vm/damon/index.rst @@ -27,4 +27,3 @@ workloads and systems. faq design api - plans From patchwork Fri Sep 17 12:39:57 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: SeongJae Park X-Patchwork-Id: 12501947 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,SPF_PASS,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 2971CC28CA8 for ; Fri, 17 Sep 2021 12:40:47 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id BF1A361056 for ; Fri, 17 Sep 2021 12:40:46 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org BF1A361056 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 5B9026B0075; Fri, 17 Sep 2021 08:40:46 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 569CC6B0078; Fri, 17 Sep 2021 08:40:46 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 3462E6B007B; Fri, 17 Sep 2021 08:40:46 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0127.hostedemail.com [216.40.44.127]) by kanga.kvack.org (Postfix) with ESMTP id 2577C6B0075 for ; Fri, 17 Sep 2021 08:40:46 -0400 (EDT) Received: from smtpin34.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id C16523A2DD for ; Fri, 17 Sep 2021 12:40:45 +0000 (UTC) X-FDA: 78597024450.34.396392B Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf21.hostedemail.com (Postfix) with ESMTP id 88453D0302C2 for ; Fri, 17 Sep 2021 12:40:45 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id 2920D610C9; Fri, 17 Sep 2021 12:40:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1631882444; bh=p1JDp2ez5z7QUwMAm1hC63DlakzzZ7n0efTl54YKOKw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YPnYiFeKmwRwsnT2yW9ilSC+7hJB9SOOPjiVF/9vAMKwfwyFB/b8hvMFbKt2cVivz +qu4JHuGxNMGsNEsLgzMRua8dkWDPIpsykBM9JObywJmSF5KXEy+vdBMKO4c/hYWT8 UcjkX56Opd0NDfe0PswbxtFF89fIxx5BXJX0YwPApQg9JH4cVcIsJ0+APDaRkxqwQt zNxQTg5zEkbA54TNAVSzKE/mpBwZp6sV0zFGsDKEqMRT+m9jSVsyb+PKCtvGRYwU/c 1aMfq8aXd8B7DrRIBCF5wItRay56qBa6UIUK4XJxjTZoDSN8aa9YoVfedRuBqR/5VT EcPuvuFfO3h3A== 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 4/5] include/linux/damon.h: Fix kernel-doc comments for 'damon_callback' Date: Fri, 17 Sep 2021 12:39:57 +0000 Message-Id: <20210917123958.3819-5-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-Stat-Signature: wa378tajziab17nxzymxgyk1r5entgnb Authentication-Results: imf21.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=YPnYiFeK; dmarc=pass (policy=none) header.from=kernel.org; spf=pass (imf21.hostedemail.com: domain of sj@kernel.org designates 198.145.29.99 as permitted sender) smtp.mailfrom=sj@kernel.org X-Rspamd-Server: rspam03 X-Rspamd-Queue-Id: 88453D0302C2 X-HE-Tag: 1631882445-926224 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 A few Kernel-doc comments in 'damon.h' are broken. This commit fixes those. Signed-off-by: SeongJae Park --- include/linux/damon.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/linux/damon.h b/include/linux/damon.h index d68b67b8d458..755d70804705 100644 --- a/include/linux/damon.h +++ b/include/linux/damon.h @@ -62,7 +62,7 @@ struct damon_target { struct damon_ctx; /** - * struct damon_primitive Monitoring primitives for given use cases. + * struct damon_primitive - Monitoring primitives for given use cases. * * @init: Initialize primitive-internal data structures. * @update: Update primitive-internal data structures. @@ -108,8 +108,8 @@ struct damon_primitive { void (*cleanup)(struct damon_ctx *context); }; -/* - * struct damon_callback Monitoring events notification callbacks. +/** + * struct damon_callback - Monitoring events notification callbacks. * * @before_start: Called before starting the monitoring. * @after_sampling: Called after each sampling. From patchwork Fri Sep 17 12:39:58 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: SeongJae Park X-Patchwork-Id: 12501949 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,SPF_PASS,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 9F876C28CA9 for ; Fri, 17 Sep 2021 12:40:48 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 6C52861246 for ; Fri, 17 Sep 2021 12:40:48 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 6C52861246 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 08C126B0078; Fri, 17 Sep 2021 08:40:48 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id EE0226B007B; Fri, 17 Sep 2021 08:40:47 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id DA7A7900002; Fri, 17 Sep 2021 08:40:47 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0174.hostedemail.com [216.40.44.174]) by kanga.kvack.org (Postfix) with ESMTP id CC91A6B0078 for ; Fri, 17 Sep 2021 08:40:47 -0400 (EDT) Received: from smtpin16.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id 8722718134583 for ; Fri, 17 Sep 2021 12:40:47 +0000 (UTC) X-FDA: 78597024534.16.7F1C28D Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf20.hostedemail.com (Postfix) with ESMTP id 4DF5ED0000B4 for ; Fri, 17 Sep 2021 12:40:47 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id 1ED7B61212; Fri, 17 Sep 2021 12:40:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1631882446; bh=2CIDCX6x1oa4sPUosrPEzBkEMFmr/pEDHd19Dz5rsho=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pw3RNRPS9HFzowWpSft1GEM0fHx93pRQguP2iuHvQ1GA2qvcRNPNuoFoTgDO1Lnsq //tDEKZIHV3GpDA91n9gmNDZyjVmaTosLytMfrFGt8ozW1g4CXO+oHH73sAkP3OkPe cHhsI5fQI7TATvMX3o1eZB3Nmz9wzXrD3iluaWw5G4m4EHROebg1JtyvcupF1JqZye d46m2DcjJc5f7NHqOK1YY0CepgrzaxI+GVp/D7gsmCzZSLNcbsnJ//uOMW+pGvvNe0 xBpnH2f1u+x7sVni3MAy/KdwWgTvhBcQlfaIO1PJp4Jxw0MyfXq+QZvG5eIAG4AX3N +z24RyYD2gwTg== 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 Subject: [PATCH 5/5] mm/damon/core: Print kdamond start log in debug mode only Date: Fri, 17 Sep 2021 12:39:58 +0000 Message-Id: <20210917123958.3819-6-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-Stat-Signature: p7oeip7orr39k379r3ioun3tn3t7ebhr Authentication-Results: imf20.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=pw3RNRPS; dmarc=pass (policy=none) header.from=kernel.org; spf=pass (imf20.hostedemail.com: domain of sj@kernel.org designates 198.145.29.99 as permitted sender) smtp.mailfrom=sj@kernel.org X-Rspamd-Server: rspam03 X-Rspamd-Queue-Id: 4DF5ED0000B4 X-HE-Tag: 1631882447-113816 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: Logging of kdamond startup is using 'pr_info()' unnecessarily. This commit makes it to use 'pr_debug()' instead. Signed-off-by: SeongJae Park --- mm/damon/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/damon/core.c b/mm/damon/core.c index 30e9211f494a..874558a790a0 100644 --- a/mm/damon/core.c +++ b/mm/damon/core.c @@ -653,7 +653,7 @@ static int kdamond_fn(void *data) unsigned long sz_limit = 0; mutex_lock(&ctx->kdamond_lock); - pr_info("kdamond (%d) starts\n", ctx->kdamond->pid); + pr_debug("kdamond (%d) starts\n", ctx->kdamond->pid); mutex_unlock(&ctx->kdamond_lock); if (ctx->primitive.init)