Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1335321rdb; Mon, 19 Feb 2024 11:45:47 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUOkycHgCSDPaU5KP4mPL5R186ZJa+w+ilzCf1REVnE2L8Je6nOT4xiAW26M/ZZYNu0utzv+xdge4hB9YrqdL2RDEFudqJvetjCmBQVig== X-Google-Smtp-Source: AGHT+IGL+OONHIGSjkkUWvT8ahNCkdBrp892XjEEXGiNk267LK8GZX3XIMjnVVkfRL1z/UtqAen0 X-Received: by 2002:a05:6a20:94c6:b0:19e:8866:9e56 with SMTP id ht6-20020a056a2094c600b0019e88669e56mr23534370pzb.11.1708371947448; Mon, 19 Feb 2024 11:45:47 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708371947; cv=pass; d=google.com; s=arc-20160816; b=CkbjkRbt2mDMnV3amcToG7x88c7bc4UKK1RmjBYQEGJMS1Jgyl+XXzjpGQNTEDRIhM UCvPTwXJMLhwIGQPAAXgC37jdsDX39dIsAsnICeB2q5fwSqXrLNZwrCOyZTknVyFmANx Dl4dOrVQh3zcpyb5wR45/KkSbq5TKN8WhI8qSbysY+AhW8s1gvKYA8FFTAfcIiJR+OYK N1weDovRxsz2tLtAcbmMwylk+TaDi6Y2a0KSWguFW+NKygfg0WMO1DEPMTmzmoMLuXuq UiYUG51iS4sjl9vctKawNPKho1wJKT8t5PWgO6eBOwW+aaIA0PVU96PhcpDt3is4gJe1 9iBQ== 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=mx822/uT9dCM9whfDewBfHDOKnSk4kYdQB/NEXJRAIY=; fh=BzdeVYqZhG5iuwuKJRNLP969rvCput73lx0iwx2zu7A=; b=PIdqB7h0F2ESn9RJfsnNJJtYyAq6aYp69D5ieRstE5IuX18KUJEndIE/YiJsM4fd4B 0Q2S/YRGLno5AJoigjo865oe4gKaytohDo+5qziL7dI8ewNta1UBX+SuSrzHNOKKx2Lp kD5dJ+DbhdYRlDhB9lIxoa/PJ2VltgiblWh9BpuT1AVXHoLwaFzuiawDSJ3L/VqfAI/F 9GfWh1jC63lNnNlDgR/JWGfM6RCzl1LFs8m88QVwOJf76jEHRkqIhIl9r51xgpd75cKU oKi2pbiu7HCC/yZd2KnsOwSKpfM8ZNyNu+ibAhjLyRbLc4/b8YWX+oBi124SZjgqLfLv VEyg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bGNlhels; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-71885-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-71885-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id w30-20020a63af1e000000b005cdde899923si4896608pge.758.2024.02.19.11.45.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Feb 2024 11:45:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-71885-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bGNlhels; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-71885-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-71885-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 2931528226A for ; Mon, 19 Feb 2024 19:45:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2A1AA54659; Mon, 19 Feb 2024 19:44:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="bGNlhels" 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 A47A9535C6; Mon, 19 Feb 2024 19:44:41 +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=1708371881; cv=none; b=a9wkcj47iDjzWYQQkh8A5UUn016D67Xs0WsglzyIOoi++vVtubzmpoKS8qyr00egyKje8gQWP29mgdb+lSZpnNGXjSdsVG7k8NLMiW+PF1aoGxZUYafRg0fKa9e1dvUAgWlj7QvgrDj10j1jmc+bUb6vQwmVQRWIfrv1SzC+Izs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708371881; c=relaxed/simple; bh=zs+kw6wIVyudOx0IbIQ/KacaL4dSPBoyKxbciIuGSqk=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=Zn6gwoksWSMJmKe/r+I1NZOmce4Ya1myqU/iGMCUV/1cjWW8Lg45a2jZHfcF0ink60C+1cxYT5M9cD4fBHc54C66sNmp2QYtoZ87+oqjykP+091oCzptZiqgbuq4+2PZFwQqYNKig8pY/oeb+3hqwsU/++r3fG6UeGajk0tEgS4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=bGNlhels; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id D968FC43601; Mon, 19 Feb 2024 19:44:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708371881; bh=zs+kw6wIVyudOx0IbIQ/KacaL4dSPBoyKxbciIuGSqk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bGNlhelsuaOaVxbpRiKvqbRC14Uit74+279k9YL6Eqrf/mCSZmQo5fNZC2Zn6ZDKj fOuHIHYPsbeH88zPeYuccArNi0m1YJ0i/565Ne57yKMD7zC9YblLyXJDvea9GrJE9O zarsCYLN1OJhuIAnD3y1Wdk3AH+hplMwdJZdNHr6z1HoCozoX1hXubFTIulZFy8K67 WoP3gxY4HmUpWAuqB7ShV6n116XZy2e+77MmGhGjyuu8r6sBQi6zh3VQ855a9VHTe6 L9fLcKFksI1kXy2qX+E6FftgAS1BP3hRJ8lpic3LqDJCpyKQz4yUpfjsvf6A3u7g6a NggL4U2/GvAuw== From: SeongJae Park To: Andrew Morton Cc: SeongJae Park , damon@lists.linux.dev, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [PATCH 04/20] Docs/ABI/damon: document effective_bytes sysfs file Date: Mon, 19 Feb 2024 11:44:15 -0800 Message-Id: <20240219194431.159606-5-sj@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240219194431.159606-1-sj@kernel.org> References: <20240219194431.159606-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 Update the DAMON ABI doc for the effective_bytes sysfs file and the kdamond state file input command for updating the content of the file. Signed-off-by: SeongJae Park --- Documentation/ABI/testing/sysfs-kernel-mm-damon | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Documentation/ABI/testing/sysfs-kernel-mm-damon b/Documentation/ABI/testing/sysfs-kernel-mm-damon index bfa5b8288d8d..a1e4fdb04f95 100644 --- a/Documentation/ABI/testing/sysfs-kernel-mm-damon +++ b/Documentation/ABI/testing/sysfs-kernel-mm-damon @@ -34,7 +34,9 @@ Description: Writing 'on' or 'off' to this file makes the kdamond starts or kdamond. Writing 'update_schemes_tried_bytes' to the file updates only '.../tried_regions/total_bytes' files of this kdamond. Writing 'clear_schemes_tried_regions' to the file - removes contents of the 'tried_regions' directory. + removes contents of the 'tried_regions' directory. Writing + 'update_schemes_effective_quotas' to the file updates + '.../quotas/effective_bytes' files of this kdamond. What: /sys/kernel/mm/damon/admin/kdamonds//pid Date: Mar 2022 @@ -208,6 +210,12 @@ Contact: SeongJae Park Description: Writing to and reading from this file sets and gets the size quota of the scheme in bytes. +What: /sys/kernel/mm/damon/admin/kdamonds//contexts//schemes//quotas/effective_bytes +Date: Feb 2024 +Contact: SeongJae Park +Description: Reading from this file gets the effective size quota of the + scheme in bytes, which adjusted for the time quota and goals. + What: /sys/kernel/mm/damon/admin/kdamonds//contexts//schemes//quotas/reset_interval_ms Date: Mar 2022 Contact: SeongJae Park -- 2.39.2