From patchwork Mon Jul 1 19:26:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: SeongJae Park X-Patchwork-Id: 13718586 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 2AE2CC2BD09 for ; Mon, 1 Jul 2024 19:27:24 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 11B496B00B0; Mon, 1 Jul 2024 15:27:19 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 006286B00B1; Mon, 1 Jul 2024 15:27:18 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id D9E966B00B2; Mon, 1 Jul 2024 15:27:18 -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 841AA6B00B0 for ; Mon, 1 Jul 2024 15:27:18 -0400 (EDT) Received: from smtpin15.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay04.hostedemail.com (Postfix) with ESMTP id 332141A1486 for ; Mon, 1 Jul 2024 19:27:18 +0000 (UTC) X-FDA: 82292167356.15.7857D34 Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by imf10.hostedemail.com (Postfix) with ESMTP id 25773C001C for ; Mon, 1 Jul 2024 19:27:15 +0000 (UTC) Authentication-Results: imf10.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=OIXekkpC; dmarc=pass (policy=none) header.from=kernel.org; spf=pass (imf10.hostedemail.com: domain of sj@kernel.org designates 145.40.73.55 as permitted sender) smtp.mailfrom=sj@kernel.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1719862020; a=rsa-sha256; cv=none; b=LxomyZd7aXklpdxy7npdLrZnxK0/ul0zOG9zb6vIjMPd43V1e6udOQK4q7DieTsLO360P2 0k54NbWpoMS9s2cj1Khc+dDkc9ZZ+ZVSJvGkktlvY2LD84zmmkyIqFPip9trSSKGcZJcQo u/hFxuZsUY31AoH4+hGBGHmCQCToMG8= ARC-Authentication-Results: i=1; imf10.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=OIXekkpC; dmarc=pass (policy=none) header.from=kernel.org; spf=pass (imf10.hostedemail.com: domain of sj@kernel.org designates 145.40.73.55 as permitted sender) smtp.mailfrom=sj@kernel.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1719862020; 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=8ttxs3vsPO0hHfOsl9Un4HOBtyUVKxKNn7pyyw3FnXk=; b=oN8Sa1ADxB+1c++tyqkbYCjDtaXGAB0AnYN4Tfz64NRN4/K7nwKbfwUwRhETP9+1en9ghx XgRtEeQQo2Sq3/GaJF91ZxUaZI3GQ2kwnLgZ6CHm9Z0/BIq6X1aBgWmYTsoVshCTmJk8D6 0q2Yho3el7gPJloDzjRPTeHG+FPPtK8= Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id AB8BACE1ACE; Mon, 1 Jul 2024 19:27:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 81E2AC4AF0A; Mon, 1 Jul 2024 19:27:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1719862032; bh=QYtOsoHg40YEBAD6vy86pU8pE6QF4gmCEDYVeoDEr90=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=OIXekkpClCpeAyF/agJ4pi4kJcklJISQ3HTbSRrR/nQKlhbKVw33QHjyTWCFKL/rg joC6RuKMtx5R24WQe3yhGAFj4TLqxXJK7uwQLDlz+wNNLY+BJ94OaK3oW74hWjnN4f BByybX1lYAV7PayI5RTe6Uppm1AOLrMiG7mzczUqLIzioPz1RldLSV99Bl7Zu+A2FA DTaiOCPOwMPG1KHskLGBjubQ9V+gA85MR/dBwjvCWYWKpK404Jx5F5j0LiMYnHQ8bs 7nEKrTL8L14bVCL8/h0csDnA7vcu3N05hxdcqWOv9dfk4EJPUn8po6Umh4r1LO4Tce 3T62d3lH3fwcA== 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 1/9] Docs/mm/damon/design: fix two typos Date: Mon, 1 Jul 2024 12:26:58 -0700 Message-Id: <20240701192706.51415-2-sj@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240701192706.51415-1-sj@kernel.org> References: <20240701192706.51415-1-sj@kernel.org> MIME-Version: 1.0 X-Rspamd-Queue-Id: 25773C001C X-Rspam-User: X-Rspamd-Server: rspam05 X-Stat-Signature: j1663if9t7tan4zik3j31sgbemdkysw1 X-HE-Tag: 1719862035-989338 X-HE-Meta: U2FsdGVkX19rge9c3HcJCBmTZi+4s8s4rPGNXr45zwrNbqhZlv+3PEl9XIdt2gIFNoBPpYmp8drTYDsxeeJGAEpamFA6sqm0c4rdcQmPf0AJXzHFkh8snC37tJJIyjD0pHglal+cFCPKK7kdFgdxakwKR8JBw7msErDS4Cyk2/GgbZSwoxyYcV46TU3cxedaNI+ZO6fg8wRjc6sC/axLoWBiyBTKzABA06pjDXfSWwqWNcOjAh+GPuv2hegBkxya9K31KHmSv/iO5H7Px/6ANdG4ZuKK42H4Uuzr2LGq4OtZzWr3V1OFohEsUsj48S55vzEpJoSY71PLwFx5zfjyGn/DK28Bi/AU+L4LDMtgM6CepnOHzenT98Y4ys3/7rK2sPzG7BUQJVQ1kHFo80Ak0hTHNOVmz4Vx00GkKeK0vHA7ymP73vjEAF2uVfUy0sMQ1XCdt4XPj5nC2DjeH4ZIZdgiNiKJWcU3IDyMRUzXeh8PlzUQgwmiG9E4nXXWO8kIbImfr+iL+KBt34b27nNdF8Wc4KLQDc4euGEHcpMCiQBaKNMVcYnS5d+uPWETRpyWOIhknD7CtOaIiInKktJssd6nLn922LUP17cs2zn2nuXJiNuoKP0v7cvgAyG9rB9JWRPnWs8NZrvzudDXTUz9soSzyqm3LQAGjqUwDlVlfHZ2xqVyrPpI6561paLEVAjuHmnCNia00HTfse36cZ5ffyPh6MR4qtT13go6aO4bLRlpER2kAcwlLC4JwtGe+bQ3UiBDl5HZkqf7y3n77DVAwmHST0ujAa1AhJCWBbVkssS9rofu8+BibVKdLgZMSuZesFqto5LAg6y1KgJnY+jusN4Vn8VD267fbIX3o3mL7DaLJhHYSyo75O28RlML6KC4PIgxGKKWKlJvxGtXjnKLI3YsAB1/qa4ohtFM3hi7P4bTOqXI4nAQ/r2aO/eRDsVVYPEE3Jji6OYVGHUpcvk /86TFgan BFADI76/Rql59pzhQJhw5JmeiEv2F43Dz8+DmERoooMESV3FhGQdn3qaDeW4crFwaNaGT6iq/23wVCpJoWLSQ/FmYy5SsMiiIFsUBFTMAdmR/NbF19tt3yNaQADIhB/0csnNqdEv+jODC35TkKRVSu9lPOKfPIImZSCFj/H0/VOCPjqfR5yH87gzRjuXhbJvng0D4IRCxISEKVe1dKnAk0OqsfphP61baph3ulAUJ8aewAR0= 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: List-Subscribe: List-Unsubscribe: Fix two typos. The first one is just a simple typo: s/accurach/accuracy/ The second one is made by the author being out of their mind. 'Region Based Sampling' section of the doc is mistakenly calling the access frequency counter of region as 'nr_regions'. Fix it with the correct name, 'nr_accesses'. Signed-off-by: SeongJae Park --- Documentation/mm/damon/design.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/mm/damon/design.rst b/Documentation/mm/damon/design.rst index 3f12c884eb3a..6beb245cbb62 100644 --- a/Documentation/mm/damon/design.rst +++ b/Documentation/mm/damon/design.rst @@ -25,7 +25,7 @@ DAMON subsystem is configured with three layers including - Operations Set: Implements fundamental operations for DAMON that depends on the given monitoring target address-space and available set of software/hardware primitives, -- Core: Implements core logics including monitoring overhead/accurach control +- Core: Implements core logics including monitoring overhead/accuracy control and access-aware system operations on top of the operations set layer, and - Modules: Implements kernel modules for various purposes that provides interfaces for the user space, on top of the core layer. @@ -192,7 +192,7 @@ one page in the region is required to be checked. Thus, for each ``sampling interval``, DAMON randomly picks one page in each region, waits for one ``sampling interval``, checks whether the page is accessed meanwhile, and increases the access frequency counter of the region if so. The counter is -called ``nr_regions`` of the region. Therefore, the monitoring overhead is +called ``nr_accesses`` of the region. Therefore, the monitoring overhead is controllable by setting the number of regions. DAMON allows users to set the minimum and the maximum number of regions for the trade-off.