Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp1304530lqm; Thu, 2 May 2024 10:31:19 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWbodbiEZdjHvEcUdjaQ+t6VUtDsHQTxZH0xeaV81dO87PsTb60FcR8mm0RVPRi8e+rId03LLvoHoRTUxqEA7pPBvdvutAVFEge8bh0ww== X-Google-Smtp-Source: AGHT+IHGLjTULnlk2IOaNKstGZzBEDZRP8GRltyXv+DKik/xibVK3K0OjMR+Y89PTzUfV5EpqDA5 X-Received: by 2002:a05:6a00:c84:b0:6ee:1508:edc8 with SMTP id a4-20020a056a000c8400b006ee1508edc8mr237017pfv.23.1714671079224; Thu, 02 May 2024 10:31:19 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714671079; cv=pass; d=google.com; s=arc-20160816; b=OUC7f7vt/fE4LUQqCsoVpE6GaGHIr5mpekALlyAA9q1Bu+ugPAOjN/fuvGvhpUcXBV +0XMUBxDv0VHqYbERgl2McsQibT1jPhKsN1sAX9Fv/38aLaJq6koNn44jzps3y1KEGjn mUvOwIiBsJEf440DSGENiq3vlhoNpFErxR6C8xUpuCOvPwKp6CZY2MjdeeeHwU1ZTw+b YUcQkCZ+HipczQnvCCrEPNa+rO+pSEFTZcOuVfYm8Z7MH2cbuXtMC+QJkJbi73rAMcjr 8Ev5B9+1K5hmd64LcBxa/3LHDn3G8nWOx1gRO0QQIhgIZU8AZuBCT1Sk0p7zCwKUSkDN DQgQ== 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:message-id:date:subject:cc:to :from:dkim-signature; bh=OfKOGdKbU9nv2vzo6cGQ1DFsNeBgxkXfS++hykY6ByM=; fh=9H4z7/o7y4OLn0xLmjdSk9Pth53+ED/R+iGnGlnIr7g=; b=Skc1uVrNjJCSQsReeGgahrOzEK2woMmGFNwEXoZ0Oc8SMHocI0Je1iSJozE/6TyLw+ muWoBRVfCjn6qa1aA+qkFOMC+EdPKfRVrE+LzdjGpiaahFyBQ3d9CckbBYpgO1qraunG ElxToJfodhMCjIPnfzZ3YxEilxDtR37Q9VTS1xcPwLQT/lbFDt+EOurPljf6AF67nxRi uX8ZD7GOsvvXaKDLLFSYq2fv7YM5Sz1KJ4CraW9wh800QpkuNHU1gHaBtUBqX0/ZqH28 DpqJj2b2U+PPKZYImr3lcTOu9Upi7WV6GWMJD7ok814jxRfTiY8HAXxDNxfZDCExHdw+ Mvfw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hweUUaV8; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-166784-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-166784-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id k8-20020a6568c8000000b005d24ebc7f36si1371292pgt.406.2024.05.02.10.31.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 May 2024 10:31:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-166784-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hweUUaV8; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-166784-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-166784-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id E6C2EB22709 for ; Thu, 2 May 2024 17:27:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A0E7116FF4B; Thu, 2 May 2024 17:27:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="hweUUaV8" 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 C3C9313C820; Thu, 2 May 2024 17:27:27 +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=1714670847; cv=none; b=HgKVwxE/uXRdlRSC+hnxKv2xL4/eiiDx1KCzD4T3lx/D0KkIPqzb8fFCVwI2MxQwI2YFV6TZEw4YhNj6kwTha0wBPrETP3na7CCfjlc0oCng6U0YCs1PuM/j8g78MqMfjVAWSxw/NEUFKwtwY8nemEqCVWWOZiunsOAlBsSbyJM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714670847; c=relaxed/simple; bh=QLwaUzwohYnKP0PTSDFKLnYx6rSW06C0HwbtdZCDG40=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=WxEL4nVI3Ab1OGP50OD39BgDFgZxQuvu99glPDNinRrU/QVfmhn8Y3JrdzRlSDSGrFvWKecnI1bdmgB1xy31/d/Q1a6wZKsbL2jXOUByqE4IiF8eXCRxnzF/aj7AKox+GX8CWonTFU3emn8dGGYOKa2Ywtwo9XjztWnANMMcklk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=hweUUaV8; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2D80BC113CC; Thu, 2 May 2024 17:27:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714670847; bh=QLwaUzwohYnKP0PTSDFKLnYx6rSW06C0HwbtdZCDG40=; h=From:To:Cc:Subject:Date:From; b=hweUUaV8NAQ5OShz8TXrOarDdyCdHeQcB9eoBXc2XrpK47V3t+hWmMsVlUqv/Z9A/ WZItfVTYB7JmcDflZ5Z7MJ9ep6TezH/1ffFWK2DF6gY+vobeoLlXcZhI9TOEjtGjIE LDsSEoedb4dXfiMkHLbmJgD5tkEDPpz/zELvKCii5D4tQ1Q+NH0J6gfLsd+fxfsqWL Xu49g230DHM2P9+XBCdLARIad/I+TF1FbNYyTVsnhy08HktxI4BJA+3NXfNIWVpPjt sipGbDSK7Pfi3fQh9DDIT6rpBDeREDjXGpw9Zn0vZCOFLjRCsn2Tsw0aWQ1m7UpP7t i+eX0cyIR4usQ== From: SeongJae Park To: Andrew Morton Cc: SeongJae Park , Shuah Khan , damon@lists.linux.dev, linux-mm@kvack.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/2] selftests/damon: add DAMOS quota goal test Date: Thu, 2 May 2024 10:27:16 -0700 Message-Id: <20240502172718.74166-1-sj@kernel.org> X-Mailer: git-send-email 2.39.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Extend DAMON selftest-purpose sysfs wrapper to support DAMOS quota goal, and implement a simple selftest for the feature using it. SeongJae Park (2): selftests/damon/_damon_sysfs: support quota goals selftests/damon: add a test for DAMOS quota goal tools/testing/selftests/damon/Makefile | 2 +- tools/testing/selftests/damon/_damon_sysfs.py | 84 ++++++++++++++++++- .../selftests/damon/damos_quota_goal.py | 77 +++++++++++++++++ 3 files changed, 161 insertions(+), 2 deletions(-) create mode 100755 tools/testing/selftests/damon/damos_quota_goal.py base-commit: ff0a7c4126d225e56aa3e0164c53e82aabf61921 -- 2.39.2