From patchwork Thu May 25 21:43:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: SeongJae Park X-Patchwork-Id: 13255696 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 405D6C7EE2F for ; Thu, 25 May 2023 21:43:26 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 652556B0074; Thu, 25 May 2023 17:43:25 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 600FF6B0075; Thu, 25 May 2023 17:43:25 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 4EF7C900002; Thu, 25 May 2023 17:43:25 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id 3EE4D6B0074 for ; Thu, 25 May 2023 17:43:25 -0400 (EDT) Received: from smtpin11.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay04.hostedemail.com (Postfix) with ESMTP id 0CFB31A07E6 for ; Thu, 25 May 2023 21:43:25 +0000 (UTC) X-FDA: 80830103970.11.3BE5518 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf13.hostedemail.com (Postfix) with ESMTP id 5D76F2000F for ; Thu, 25 May 2023 21:43:23 +0000 (UTC) Authentication-Results: imf13.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=HGI9nQar; spf=pass (imf13.hostedemail.com: domain of sj@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=sj@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=1685051003; 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=XdwAG7Z2NZXZHZfuvqH72G/NDNAI/W9LbbG2ezKqsB0=; b=W8kUyu/1Zj8Xy6d82M5v3glRoEzn3T6aeASwJirFT9I5XLkzv9jddm7sMR8dUbbL1qJeqq uYCxdEbiwarFxbL6ypfGU7lUhGKT91t+nyv6GkbrLKz5kgIdPw7WE6G5nBIH5gJMR/wyHn 5L+yw47wdbsSQPOHQ7lhCeR7euq1ta4= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1685051003; a=rsa-sha256; cv=none; b=rGkhaTHr9lFiWfl4Y0OFY3UthIG0dLGZwCLq4hyy8iLaKnOFZ+O8OwdHePpkmRAigmOQ29 ERfKE/+u3kD4/tai7Ramokbs2tqgaChJrBwzIVH3JeUng+XFSSjCzsy8lBx7b0C8AeGaXA Zn5pCuy8EplAYKy4oMCQftvtWCFt2WY= ARC-Authentication-Results: i=1; imf13.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=HGI9nQar; spf=pass (imf13.hostedemail.com: domain of sj@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=sj@kernel.org; dmarc=pass (policy=none) header.from=kernel.org 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 dfw.source.kernel.org (Postfix) with ESMTPS id 60C9564B6C; Thu, 25 May 2023 21:43:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 45DB8C4339B; Thu, 25 May 2023 21:43:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1685051001; bh=hVFyQUZN1gcvG6t3Dpq635c426eBMKWXinhJ3HGYh9s=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=HGI9nQarh6/dDMgWqzLaHz2tcFxHEP3FNk3dJo770kxOgy8E0LJyKAqlE+8jo5Iz7 i1gdU/pd6W2jdEXcJru8gg5rlqj9E45F1fCDuQrxTcO5pnOKEUwGjm+1FkxK4Xje9E rIstQEBLmrKi1/p3JTjltsB0DJRnx+6PTnB7SSxulUpBkLLqNXOof1II5O73QtnHMf Auoe2QSPd8MXvUeutyKUrr57FVkUT9ujcnYjjm0IQ2rChSTKMJk449mIHEOBcc3nII kjX50inG7/9hu/5DIb2MKMSXYvHO+KTXbg3InDmIR6bxFsoDsRhMxBZwGRIivtd4Sc r79YnXhY6S1wg== From: SeongJae Park To: Andrew Morton Cc: SeongJae Park , Jonathan Corbet , damon@lists.linux.dev, linux-mm@kvack.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 01/10] Docs/mm/damon/faq: remove old questions Date: Thu, 25 May 2023 21:43:05 +0000 Message-Id: <20230525214314.5204-2-sj@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230525214314.5204-1-sj@kernel.org> References: <20230525214314.5204-1-sj@kernel.org> MIME-Version: 1.0 X-Rspamd-Queue-Id: 5D76F2000F X-Rspam-User: X-Rspamd-Server: rspam11 X-Stat-Signature: z7wnd1arggdtwj6zsza55h1k5nkeuw7x X-HE-Tag: 1685051003-98430 X-HE-Meta: U2FsdGVkX1/9cENUH5AOgo08h9M2knnVFwS/A0M1ttkZ+59qtRQwmClcBz2fDnFl/SOqkbPEK4/9crFJnMSGC9aw0il/gbUH/6gvSRQ1s+BHYXKMqk6RHzkANxYUAiBMc+tPO6FUIxkOoqeu2bawSqTPjKhJSMcQiFD0WiawI8/D4TdR2LcPa8r0e0T+QI8XKO/YAzTVpof9kFESl8WdBPe2LqXQNifZ7b/FgYgWxMM2WSGLmBYoEk+k6Yr5gbicnBAReT/b4yCYJ3VAO6CJ9U7Q3mPfbvqO1zPRsDUh+bQJVvzy5iJqh5USF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ack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: The first two questions of DAMON faqs have raised when DAMON patches were first submitted. More than one year has passed since DAMON patches get merged in the mainline, and that kind of questions are not asked nowadays. Remove the questions. Signed-off-by: SeongJae Park --- Documentation/mm/damon/faq.rst | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/Documentation/mm/damon/faq.rst b/Documentation/mm/damon/faq.rst index dde7e2414ee6..3279dc7a8211 100644 --- a/Documentation/mm/damon/faq.rst +++ b/Documentation/mm/damon/faq.rst @@ -4,29 +4,6 @@ Frequently Asked Questions ========================== -Why a new subsystem, instead of extending perf or other user space tools? -========================================================================= - -First, because it needs to be lightweight as much as possible so that it can be -used online, any unnecessary overhead such as kernel - user space context -switching cost should be avoided. Second, DAMON aims to be used by other -programs including the kernel. Therefore, having a dependency on specific -tools like perf is not desirable. These are the two biggest reasons why DAMON -is implemented in the kernel space. - - -Can 'idle pages tracking' or 'perf mem' substitute DAMON? -========================================================= - -Idle page tracking is a low level primitive for access check of the physical -address space. 'perf mem' is similar, though it can use sampling to minimize -the overhead. On the other hand, DAMON is a higher-level framework for the -monitoring of various address spaces. It is focused on memory management -optimization and provides sophisticated accuracy/overhead handling mechanisms. -Therefore, 'idle pages tracking' and 'perf mem' could provide a subset of -DAMON's output, but cannot substitute DAMON. - - Does DAMON support virtual memory only? =======================================