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: 99231 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp77095vqr; Thu, 25 May 2023 15:13:52 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4vhiH/pKU4DzG7upFTTagLrOUs+W07+Il06BuS8EW4gr2SLWdyQbFWLhpcpaC+15HGQcfb X-Received: by 2002:a17:90a:2d8e:b0:24e:1a7:eee6 with SMTP id p14-20020a17090a2d8e00b0024e01a7eee6mr51357pjd.45.1685052831989; Thu, 25 May 2023 15:13:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685052831; cv=none; d=google.com; s=arc-20160816; b=gywpsg54o7RMhw0Ljf8UZMMLuiUylplxHRCiuehWPHJ4yK1LhwgnIpwt2sKj5jEhRP +envmtCkFcM3dokSQopXfCubZ3SJxMMMeGRnSSn8er+THP4+dfqk42Etf78gmaQe8UoA A2am+NewisEQhh/aLWvwqAAxyysoFzU2EssgpBYCCIg7pGnj8unXH5o944X+ZUSL4AT9 5rrBcnqwXURCb13VKfnsneLRbZN+nJgp+TBVY9muah+jzUW8Ppur3UnjJahc41J5ipD4 lCij3XDY4XlxS2O+RcdyEH7y7z+3+NoandMH/61tTnjvbhjBqZb3aQqEf85XO8vK67yQ W2Xw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=XdwAG7Z2NZXZHZfuvqH72G/NDNAI/W9LbbG2ezKqsB0=; b=VTtcS4XJnifkfhUy//S68UOfM4iLXGxh1bWWx7m5FaCnNohMOcXhQSJ9WLk8pt2oN8 rMHEb//k7S303MljWfw80AlV4a3rGX249fi6dsILUnqoTGDb3Vs9U1/decvrbsyMlPYk A0CCK4Ux1wrHHVsC0oAgczHbklGRHM7XLl5O884RiWWXUPnWaf4MF4uGpTF+Nw5aa4C3 fcPgowLpbyOid+6UeR16XmJBF/lal9PJNT1DNIEK+C7FZxoPZ4YkhCzptgCMwbXqurZh UrJnR/g/ud6QQQUAQM0TTb5rjOjTAVIf4tyROfSEw/Nt3fGYlSF2xd2CE8ru5uclx0Wv N8Ow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=HGI9nQar; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e21-20020a637455000000b0053063a32dacsi2215360pgn.826.2023.05.25.15.13.36; Thu, 25 May 2023 15:13:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=HGI9nQar; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240695AbjEYVn1 (ORCPT + 99 others); Thu, 25 May 2023 17:43:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46664 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234142AbjEYVnX (ORCPT ); Thu, 25 May 2023 17:43:23 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CBC3012C; Thu, 25 May 2023 14:43:22 -0700 (PDT) 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 615AD64B71; 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-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1766905958195463993?= X-GMAIL-MSGID: =?utf-8?q?1766905958195463993?= 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? =======================================