Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp1957819lqm; Fri, 3 May 2024 11:04:48 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX+uH/M9OFMpeRU9CCDYvWwHVNpTtB28BnBOJp/EmT3pJfDrWL1zeectXjAnPl3ZI4LmdEtLhLerWc/5RIleiHdOAl9+msCSeVxL17SXw== X-Google-Smtp-Source: AGHT+IF1+MtZDuOez+9+N/+tpJS2hQtv7rjgSsPOa7FSKLZN54aJXyBaBLOsOVtQTsQrIvwz81Pc X-Received: by 2002:a05:622a:1307:b0:43a:d063:c8d7 with SMTP id v7-20020a05622a130700b0043ad063c8d7mr4339147qtk.1.1714759487969; Fri, 03 May 2024 11:04:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714759487; cv=pass; d=google.com; s=arc-20160816; b=fjKLQqWJOCpD4goa3VVdX4ilS1WNITild8ru4H9IY3C3hFIg2tp7H5ohjDxkzru2S1 7Nbgbuy6WP4D/al5Pl2WpOWsz3oV3w8EB0Qcw/RVhIjdcIAYsr3jA4BP4yeJ64kapEwp OoAro+wvW4458EWVHvpaDuXz089eR5K5UdOOtUHi+zV7FbEfoU7ppYaYi3LDuV1TIHMe vCXcWt6KVUJOqPWKEaHpNoQuB7opUS5gybh7BbtgZAe0e6x7zPRHdpLMBJo8UAHDWfWt 5V9Y0xZvDKyR+8o7A0V0AVpRujCTfCcxZ4zhX5pjJPZaMx2qsjkEC0HWXFLPbsfvbX6l CqVA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=/mvTOkUPox3UQLEmazklw6bY0HUdNk6GZHe7tbYnkqw=; fh=T+kufh5lBR9Gt8YoTrlk7dB/LIDiLonUf6fhQlJ/Cd8=; b=R+KbqyX3vEzKltXkqUTL3dkFreubTgUVQjsIWWoAHj/yODc8A2SyZWPY+aywPqNbAx R+GNSAaKdS3KImBUsA74H6kmWdLoEREO1NG2T4GfnL3/AVrZ8wcoVyTvc+EvhyZRX9bY Ctl4EC8hYFttWOq+9zdwVpEt8jpU1uyB4SKih5rEQpLjn9WOev53lFYBTXS1vzLA7+FW M4QA91p1ZZ1tpL1hXDXs+ISpLVZp/9eto/OYDsXNdswQhSvSeVE8ZFrXtLqp3/jKAgIt X3FqsPYPEJazETNRtZirnwl+2C44aDAVmwIaP2p3WO0Ft1ZbV/NONGK1SaVCi8eRhX1S I47Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ueOhhzQV; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-168001-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168001-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id j5-20020ac85f85000000b0043aea4140e3si3852611qta.391.2024.05.03.11.04.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 May 2024 11:04:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-168001-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ueOhhzQV; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-168001-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168001-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 44B3C1C22DC0 for ; Fri, 3 May 2024 18:04:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C0FA9158D82; Fri, 3 May 2024 18:03:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ueOhhzQV" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E08D7158A32; Fri, 3 May 2024 18:03:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714759407; cv=none; b=MP6xo9o086fXmVYRc2itgdA0tU5c35QCE2pnzlv3o5tHd8/XQ+mijXWr13JnYDEv1f6bZZlb24NSmoG+aaasj2wkyADdTxObW5YIwGLtGpTA0IJ95SpCynApeqZpgwzbn+hgko+xhUTgNGHRkVjNKfJiAXj+xd+qwQplWqM2Lm4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714759407; c=relaxed/simple; bh=AS2JS3BGQVHo5RzbTVMIa5UQeXJ+fVLWbjaYsPF6V/A=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=FnLjw99rjEA2ypAu/zm7ceVbElSYdzupBi2LpV510QoxbJlnaSI+lSuO+H9vyr3zMuONLLwFp/gehZADv6YiYzwDfIGmn/pm8Xb5aGusZGYvV4lYeajDwIevzXtAno2Vc4QM9Jy5sWVst4+RCHJnvvpAJ0e6r0co9AyLapARYws= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ueOhhzQV; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id D49F2C4AF49; Fri, 3 May 2024 18:03:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714759406; bh=AS2JS3BGQVHo5RzbTVMIa5UQeXJ+fVLWbjaYsPF6V/A=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ueOhhzQVHOqQWS9hYd7/BOnLu3AxufgKPocOXtiZLC21qJmV/tqXZ61UompLt/MJd +WVAZWgVSP9eVni1vx7w7nHUO/+7h6JQlu391AY1frY6stamIP3CGGUutmqakezWye s/dYRTuD9XCUL49qOm8PjT5kc3Z7DWRP4jDyjRpZsrl8J5sRKJpdMTjfA86XtGDudR QOevYHYzah/lMOmxfaYzul8yQPsENcjYKTXqc69dZfwQQRLegrgx3Af9MdlHGWpmab SWfahDGBBQdx6ypo2/1tIBOCEnouQr1GEQiSV0YRQvAW9xuSeVTo8bXLtQViTC4sYJ x0l/C9XFWnn2g== 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, stable@vger.kernel.org Subject: [PATCH 06/10] Docs/admin-guide/mm/damon/usage: fix wrong example of DAMOS filter matching sysfs file Date: Fri, 3 May 2024 11:03:14 -0700 Message-Id: <20240503180318.72798-7-sj@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240503180318.72798-1-sj@kernel.org> References: <20240503180318.72798-1-sj@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The example usage of DAMOS filter sysfs files, specifically the part of 'matching' file writing for memcg type filter, is wrong. The intention is to exclude pages of a memcg that already getting enough care from a given scheme, but the example is setting the filter to apply the scheme to only the pages of the memcg. Fix it. Fixes: 9b7f9322a530 ("Docs/admin-guide/mm/damon/usage: document DAMOS filters of sysfs") Closes: https://lore.kernel.org/r/20240317191358.97578-1-sj@kernel.org Cc: # 6.3.x Signed-off-by: SeongJae Park --- Documentation/admin-guide/mm/damon/usage.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/admin-guide/mm/damon/usage.rst b/Documentation/admin-guide/mm/damon/usage.rst index 69bc8fabf378..3ce3f0aaa1d5 100644 --- a/Documentation/admin-guide/mm/damon/usage.rst +++ b/Documentation/admin-guide/mm/damon/usage.rst @@ -434,7 +434,7 @@ pages of all memory cgroups except ``/having_care_already``.:: # # further filter out all cgroups except one at '/having_care_already' echo memcg > 1/type echo /having_care_already > 1/memcg_path - echo N > 1/matching + echo Y > 1/matching Note that ``anon`` and ``memcg`` filters are currently supported only when ``paddr`` :ref:`implementation ` is being used. -- 2.39.2