From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj1-f54.google.com (mail-pj1-f54.google.com [209.85.216.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 00CB8415F32 for ; Wed, 12 Aug 2026 10:04:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786529100; cv=none; b=DIy5iz6fGtdCo1ya5Gg3/UaymEb1iedqKmMd9GPB7Y7OpO7Vk9CXPlsOMPecsvrWzxZqiNJlV39yqOk4aII6n/aQb11MeBrxLP8Y6fM9gO4smkvf5GWaz8aOJGj5k7wjN8KIDvPbiJjHt4s3iQdEjyr4JTVYkixa2Nur/ANBlnM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786529100; c=relaxed/simple; bh=EHmNb5OrnnC4mKZ2Bjz94rRJJr1n/ZIhoUobvZIv6hk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=n2vCsMQCazPVhhj7UwOVRebFM91NBAn8JTmxVnbW9ndghpou6OOujcUl8T08oGbTptN67WXjmzGYfMoJre/Gm7anuQsVcD1ozhMdUIYJa7JlQXcxXGerFCnSlKKxNv+js1fZQEf5juYBCOt2lMVgbHTwdBihlrVHADN/fg5V4wI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=WCCPBqP+; arc=none smtp.client-ip=209.85.216.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="WCCPBqP+" Received: by mail-pj1-f54.google.com with SMTP id 98e67ed59e1d1-382ef647e20so871499a91.1 for ; Wed, 12 Aug 2026 03:04:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1786529098; x=1787133898; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=5rY136w+JpL/ylEjfYfCsqSvAnSrsJPi+k0wPlzk9EU=; b=WCCPBqP+J7EnXbTsypWpY+YqbLj8FK90wm+nj1hAseE01qM/j1p4Xm7Wo/SHOj7sOU NDNn9d0y2osuKCRqappYaq+6g66IyoTFZKa7ZdmAh7f6NQW8sOSeDTp4g1Z5eSaJt6z5 jsife/3ZjEE7Bs4tBSlg/OHRoguEsNWNrTAo0FKGje/13rTNGcmYNyu9/zLRNPZN7hRb F5kcuPOcgLnsJ48ZM6MEqPbHx74DaCLWZCZ0rz3pUBldG6FNcRPS/OXGvUGWCyJkEoP1 UtMQ0FsEJMwzGH5GvisALoHaSokfTGm/L0Hi04A5AFu9nj0NS7Ren8l3euAqY2mBjbJv JsZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1786529098; x=1787133898; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=5rY136w+JpL/ylEjfYfCsqSvAnSrsJPi+k0wPlzk9EU=; b=niRV87jz58LTprpQFM6js346Aoul6AAN4Vrsd9sW4+hqngRgyDoMLm6/EU8fVD0OgK QBoYDbM11/wo4+OpbsEFaVyIBH4iNBxzdTPUx3veMs82zZEvEITECH+w8eSwYIgjFS1q kxN+7u29qfpSVIdzJZJZ46IUhBPQPy24wrLldMV5rFj9g6Jmv0bXElvcKM0FODLrjTMQ NjiGF29G3ho0AAqmzG6fml5WPcTiJTs1zbU/NzHtL+wK3N+JqPKTgzgYQUFhLU7wxK45 MLb0q9uR3lhFfsjc4Qs6z/HPUpdvyZ9CyIEK3EZYA6Gyp9WYHjuDHzuwlI4S2yWbE1QN ZfTg== X-Forwarded-Encrypted: i=1; AHgh+RqpSQWLBWyDPHU8m/thi7u0Srjsx4GNz08Vg6IPBsSrVaSaDrzxsGFsHzEBi44fdyId3038sio8wq+fXCU=@vger.kernel.org X-Gm-Message-State: AOJu0YxNdmQillGR82XrgDVe8tzTU8U/uMQj2MJnTYOWpfsLWxhbcl/m rEiPqjeT/5lD5h2lQwy02cKYjz0tHPwTZ81dK/hlQHFiIAOzBk8uYvys X-Gm-Gg: AR+sD11dFxmlLoYsDVhKQ4kwdmj5E2o66eaHDgNiN4es0XkMzPv40er4cGG2iEp3fpU 3UmiNLOdXp7cA7uZ636OkTMMVh0GcNd2d2ugmRDKqx6SKh2sipDtXv4H5zgvtoYTicuZ7LKiD5O ggW79EaK/GaY+zni+/yibY/PQ08p20JjmnUmiKxdGUG+Gf2Br9RIcl3zLEXotGFr59Cf1VrbREI ng6ZGH+OMf34TXAtWmGgO8RO1ueKYBH+gPNlMjmouXC2inJ4wUQxgoEB4/NtCP2nNeL342L10os 4Qp6jT4KrhP1IJsZSk0xKA2BNo14gZ9i1Px+rgaErL6gCI0wi05zGYiqNzu4rN41cS95S0QlVmH nvehVMCxD2IBK/uim6mC+M2PqU0wYcPqfmQ7KUGCXUYh3D473JCqiaWdoybuIPbf5ruH/etoeKx YXIRYbtePhSr9QuCKwBXvadOEVHhndyykhEdVUjQUCDwRlCepNBO45ZP0gwuNOKKDw9nJaX0NZM RXTI36WxzRbixg= X-Received: by 2002:a17:90b:1a8b:b0:38e:fea2:df53 with SMTP id 98e67ed59e1d1-39301253b3bmr3943475a91.4.1786529098246; Wed, 12 Aug 2026 03:04:58 -0700 (PDT) Received: from celestia.taila51cc2.ts.net ([2402:1980:85a:5c46:85a5:ec7:8aa8:72be]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-14124454d3csm8821247c88.2.2026.08.12.03.04.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Aug 2026 03:04:57 -0700 (PDT) From: Liew Rui Yan To: SJ Park Cc: Andrew Morton , David Hildenbrand , Lorenzo Stoakes , "Liam R . Howlett" , Vlastimil Babka , Mike Rapoport , Suren Baghdasaryan , Michal Hocko , Jonathan Corbet , Shuah Khan , damon@lists.linux.dev, linux-mm@kvack.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Liew Rui Yan Subject: [PATCH 3/3] docs/mm/damon/design: fix typo of max_nr_snapshots Date: Wed, 12 Aug 2026 18:04:33 +0800 Message-ID: <20260812100433.6288-4-aethernet65535@gmail.com> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260812100433.6288-1-aethernet65535@gmail.com> References: <20260812100433.6288-1-aethernet65535@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Fixes a typo (nr_snapshots -> max_nr_snapshots) and corrects a grammar error. Signed-off-by: Liew Rui Yan Reviewed-by: SJ Park --- Documentation/mm/damon/design.rst | 4 ++-- include/linux/damon.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/mm/damon/design.rst b/Documentation/mm/damon/design.rst index 1fcf0b8c044b..62ba6cc2e999 100644 --- a/Documentation/mm/damon/design.rst +++ b/Documentation/mm/damon/design.rst @@ -871,8 +871,8 @@ action is ``pageout`` while all pages of the region are unreclaimable, applying the action to the region will fail. Unlike normal stats, ``max_nr_snapshots`` is set by users. If it is set as -non-zero and ``nr_snapshots`` be same to or greater than ``nr_snapshots``, the -scheme is deactivated. Note that, unlike watermarks, even if a scheme's +non-zero and ``nr_snapshots`` equals or is greater than ``max_nr_snapshots``, +the scheme is deactivated. Note that, unlike watermarks, even if a scheme's ``nr_snapshots`` reaches ``max_nr_snapshots``, monitoring will not stop. To know how user-space can read the stats via :ref:`DAMON sysfs interface diff --git a/include/linux/damon.h b/include/linux/damon.h index d642ce4fc83c..75ece3d03be2 100644 --- a/include/linux/damon.h +++ b/include/linux/damon.h @@ -549,7 +549,7 @@ struct damos_migrate_dests { * * After applying the &action to each region, &stat is updated. * - * If &max_nr_snapshots is set as non-zero and &stat.nr_snapshots be same to or + * If &max_nr_snapshots is set as non-zero and &stat.nr_snapshots equals or is * greater than it, the scheme is deactivated. */ struct damos { -- 2.55.0