Message ID | 20210720131309.22073-14-sj38.park@gmail.com (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <SRS0=4OSM=MM=kvack.org=owner-linux-mm@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 362B2C636C8 for <linux-mm@archiver.kernel.org>; Tue, 20 Jul 2021 13:14:44 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id E11E760551 for <linux-mm@archiver.kernel.org>; Tue, 20 Jul 2021 13:14:43 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E11E760551 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 6B93E6B007E; Tue, 20 Jul 2021 09:14:44 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 5F49C6B0080; Tue, 20 Jul 2021 09:14:44 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 3AA106B0081; Tue, 20 Jul 2021 09:14:44 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0074.hostedemail.com [216.40.44.74]) by kanga.kvack.org (Postfix) with ESMTP id 163A36B007E for <linux-mm@kvack.org>; Tue, 20 Jul 2021 09:14:44 -0400 (EDT) Received: from smtpin20.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id 97B12276EE for <linux-mm@kvack.org>; Tue, 20 Jul 2021 13:14:42 +0000 (UTC) X-FDA: 78383010804.20.E5943E9 Received: from mail-qk1-f172.google.com (mail-qk1-f172.google.com [209.85.222.172]) by imf20.hostedemail.com (Postfix) with ESMTP id 5A4EBD000099 for <linux-mm@kvack.org>; Tue, 20 Jul 2021 13:14:42 +0000 (UTC) Received: by mail-qk1-f172.google.com with SMTP id q15so6347767qkm.8 for <linux-mm@kvack.org>; Tue, 20 Jul 2021 06:14:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=4JGp05b24ihTRHgklBj4UKyWFFV1V2kZsG7t8cqA7wo=; b=jYobwTtDo3NVFwh2/V12GOKGtD3WnOJKH8wi9aW9n9EE4lNglOClw++Igx3yDrJVrf S58vCPA8O+wOVncPXOzKMP/9n5qCaCgVyDIz0+RNgQ6dNV8mHu4gxzmYoQm7CQut/o14 h2Um4lXcjH2SgXGcBjxgceVA/dQ269Pf90MkyAd7DQW8FhVhCqNByGvS59aL5HHiYXlu EbIJacrudRnd+8lmAmAYyYjBX5agXgVaZzpr+KfljjozLMM8q0Nmc+AZR073z9u40oCe 4VVBDu5o4NBvVy6VkzaJn601x4I94VIH+KituqkfQKMR4Lyutg//L8J5hjpYhToaqOYk xLpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=4JGp05b24ihTRHgklBj4UKyWFFV1V2kZsG7t8cqA7wo=; b=b/7uhwDCx2Vm6HeCcRfrXkZU2HlLeBxwa1bhlGCxlas+U+NKfdY0aMHrXOxoBgnBiC sSfGZoUWkMgKkEtT+UuFE/JLMl88lMHSfBh8sIOGVWQukK4rMjpDg+V7aV7vru/fIFbu USYUCLdeFwHHHIgBvilFUK77rDbQnQzc+kBxDZHOGGKelz3G6Olw2js+qTpux7bol/P5 T77wEHg2Z0OD3Kwy0XcrYwCzuH/iKtmYbZY4goQSIVeZlTmGnKurKN8Wp8Zej4OGZVJ8 ++nX5NMoQ1HYc0C8XZSvlfNf78VPAsQNSsPONtH2Oxq0FPIhiCaX49nxAX/Q3AN0VIji yVww== X-Gm-Message-State: AOAM530/LnLO30kuxbhlgQ8WWc2KGn09/7z2bSGEUhUNsC/LDIndfNiO Ob4SpLtxh8Rpge2Ng8eYgis= X-Google-Smtp-Source: ABdhPJzhnbTUOjZXn+05iSY6IRs7WUNu24W17TsbD/hSW5y6sEDFtOjgxQpkq3qOjfN0u4cR9ga9SA== X-Received: by 2002:a05:620a:d5d:: with SMTP id o29mr29562774qkl.157.1626786881788; Tue, 20 Jul 2021 06:14:41 -0700 (PDT) Received: from localhost.localdomain (ec2-35-169-212-159.compute-1.amazonaws.com. [35.169.212.159]) by smtp.gmail.com with ESMTPSA id g17sm9701225qkm.34.2021.07.20.06.14.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Jul 2021 06:14:41 -0700 (PDT) From: SeongJae Park <sj38.park@gmail.com> To: akpm@linux-foundation.org Cc: SeongJae Park <sjpark@amazon.de>, Jonathan.Cameron@Huawei.com, acme@kernel.org, alexander.shishkin@linux.intel.com, amit@kernel.org, benh@kernel.crashing.org, brendanhiggins@google.com, corbet@lwn.net, david@redhat.com, dwmw@amazon.com, elver@google.com, fan.du@intel.com, foersleo@amazon.de, greg@kroah.com, gthelen@google.com, guoju.fgj@alibaba-inc.com, jgowans@amazon.com, joe@perches.com, mgorman@suse.de, mheyne@amazon.de, minchan@kernel.org, mingo@redhat.com, namhyung@kernel.org, peterz@infradead.org, riel@surriel.com, rientjes@google.com, rostedt@goodmis.org, rppt@kernel.org, shakeelb@google.com, shuah@kernel.org, sieberf@amazon.com, sj38.park@gmail.com, snu@zelle79.org, vbabka@suse.cz, vdavydov.dev@gmail.com, zgf574564920@gmail.com, linux-damon@amazon.com, linux-mm@kvack.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [RFC v3 13/15] selftests/damon: Support watermarks Date: Tue, 20 Jul 2021 13:13:07 +0000 Message-Id: <20210720131309.22073-14-sj38.park@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210720131309.22073-1-sj38.park@gmail.com> References: <20210720131309.22073-1-sj38.park@gmail.com> Authentication-Results: imf20.hostedemail.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=jYobwTtD; spf=pass (imf20.hostedemail.com: domain of sj38park@gmail.com designates 209.85.222.172 as permitted sender) smtp.mailfrom=sj38park@gmail.com; dmarc=pass (policy=none) header.from=gmail.com X-Rspamd-Server: rspam02 X-Stat-Signature: j4ir94xgwb3b9yc6zegfpss8z1tbbxsb X-Rspamd-Queue-Id: 5A4EBD000099 X-HE-Tag: 1626786882-450231 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: <linux-mm.kvack.org> |
Series |
Introduce DAMON-based Proactive Reclamation
|
expand
|
diff --git a/tools/testing/selftests/damon/debugfs_attrs.sh b/tools/testing/selftests/damon/debugfs_attrs.sh index 4c69d8709e3b..154f9f76f84a 100755 --- a/tools/testing/selftests/damon/debugfs_attrs.sh +++ b/tools/testing/selftests/damon/debugfs_attrs.sh @@ -78,10 +78,10 @@ echo "$orig_content" > "$file" file="$DBGFS/schemes" orig_content=$(cat "$file") -test_write_succ "$file" "1 2 3 4 5 6 4 0 0 0 1 2 3" \ +test_write_succ "$file" "1 2 3 4 5 6 4 0 0 0 1 2 3 1 100 3 2 1" \ "$orig_content" "valid input" test_write_fail "$file" "1 2 -3 4 5 6 3 0 0 0 1 2 3" "$orig_content" "multi lines" +3 4 5 6 3 0 0 0 1 2 3 1 100 3 2 1" "$orig_content" "multi lines" test_write_succ "$file" "" "$orig_content" "disabling" echo "$orig_content" > "$file"