From patchwork Tue Jun 8 11:52:52 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: SeongJae Park X-Patchwork-Id: 12306599 Return-Path: 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.8 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,SPF_PASS,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 2C540C48BCF for ; Tue, 8 Jun 2021 11:53:40 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id D28626124B for ; Tue, 8 Jun 2021 11:53:39 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D28626124B 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 57F0A6B0080; Tue, 8 Jun 2021 07:53:39 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 556616B0081; Tue, 8 Jun 2021 07:53:39 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 3A7DD6B0082; Tue, 8 Jun 2021 07:53:39 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0220.hostedemail.com [216.40.44.220]) by kanga.kvack.org (Postfix) with ESMTP id 0B9B96B0080 for ; Tue, 8 Jun 2021 07:53:38 -0400 (EDT) Received: from smtpin26.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id 99F2112E8 for ; Tue, 8 Jun 2021 11:53:38 +0000 (UTC) X-FDA: 78230396916.26.84E057E Received: from mail-qk1-f172.google.com (mail-qk1-f172.google.com [209.85.222.172]) by imf25.hostedemail.com (Postfix) with ESMTP id 985386000143 for ; Tue, 8 Jun 2021 11:53:35 +0000 (UTC) Received: by mail-qk1-f172.google.com with SMTP id i68so16231554qke.3 for ; Tue, 08 Jun 2021 04:53:38 -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=AiQc0DD6N2aSgRO8sD4OJ1ER+4IqRjuDkiQMrkgaEeg=; b=k5//IFbGlIuVgYSa6FzehkG51crKgMNwddzs48OKNhdq41KBFjeAc+d7IqqQanR+0a DKyHTYSqwqOVCjiW+0JrTEJe4UI1VVQxU3hEaZJaD6Y2QVZexa/U0m14kDJ0B2M/Q5E/ PSFiG/H3D3E8jZX+0LrBj147VcDHTkjLwXBv6e18EhssO1JyUiaGZddqu/ucyXDZE/Sc Dt0fSbVBy3JQp3tHob9U22nwtWx7uAtEtHu6eUudqNySnSwYq0jgAWMn48oz/b6r0EnT Upae5mE3BZS4haahHto74ofLD2O3ePKTvj2OCusuWHSSp4R0rt8pCqCTSMtFtlH0DVJw PG6A== 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=AiQc0DD6N2aSgRO8sD4OJ1ER+4IqRjuDkiQMrkgaEeg=; b=mUfeuXllbG+GvjfdzDmCdRS4AUiQ2GcElHmxgJ60jnLZjP/Q6c73LC2PKJICUkjEIA zmd9mU3vp7xYZLJSwAeBwybhOr59c8QiGvdxc/1GDM864Tyx+zmBYn/rcpog41qn7BiY GOpPUG2/zRC5Kd0BJ31IJ26YouNRiscb2fDbqyPco0rCYn7Wz8Fa6nZj/uWASG17B1/T iEwHQpzC0Wt1EZNor2qbPNq4DudtUR6+r8+0QI/wWD2+XTEsl2MdBGprfnrTOSPoODn0 hjgp5sSO4nKeejQc2L6JNEQ/dIyp7tceq8/gcK2/b32PhyEDbgp9NGOWqBNXPwXnws1K p97g== X-Gm-Message-State: AOAM531s6+3VWVdCkW10PDohU3VCDAVrvt5YgsNMqUs7nQUC0gwwwozo GIbBS+hxUJRfMo/C9Hprud8= X-Google-Smtp-Source: ABdhPJxDkNGIe9IynLDSfOi1J0bg0wZyaqtIp1Vv08ZHqor0JrhzLD/Dfg735w4QdgnUypSVRdqjsQ== X-Received: by 2002:a37:a143:: with SMTP id k64mr19898791qke.356.1623153217698; Tue, 08 Jun 2021 04:53:37 -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 h4sm2133927qth.66.2021.06.08.04.53.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Jun 2021 04:53:37 -0700 (PDT) From: SeongJae Park To: akpm@linux-foundation.org Cc: SeongJae Park , 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, mgorman@suse.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, 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 v2 12/14] selftests/damon: Support watermarks Date: Tue, 8 Jun 2021 11:52:52 +0000 Message-Id: <20210608115254.11930-13-sj38.park@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210608115254.11930-1-sj38.park@gmail.com> References: <20210608115254.11930-1-sj38.park@gmail.com> X-Rspamd-Server: rspam01 X-Rspamd-Queue-Id: 985386000143 Authentication-Results: imf25.hostedemail.com; dkim=pass header.d=gmail.com header.s=20161025 header.b="k5//IFbG"; spf=pass (imf25.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-Stat-Signature: i14gg8yejeajpfzupaemyducth6wmnyp X-HE-Tag: 1623153215-893900 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: From: SeongJae Park This commit updates DAMON selftests for 'schemes' debugfs file to reflect the changes in the format. Signed-off-by: SeongJae Park --- tools/testing/selftests/damon/debugfs_attrs.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/testing/selftests/damon/debugfs_attrs.sh b/tools/testing/selftests/damon/debugfs_attrs.sh index 262034d8efa5..90440cb3aee8 100755 --- a/tools/testing/selftests/damon/debugfs_attrs.sh +++ b/tools/testing/selftests/damon/debugfs_attrs.sh @@ -101,7 +101,7 @@ echo $ORIG_CONTENT > $file file="$DBGFS/schemes" ORIG_CONTENT=$(cat $file) -echo "1 2 3 4 5 6 3 0 0 1 2 3" > $file +echo "1 2 3 4 5 6 3 0 0 1 2 3 1 100 3 2 1" > $file if [ $? -ne 0 ] then echo "$file write fail" @@ -110,7 +110,7 @@ then fi echo "1 2 -3 4 5 6 3 0 0 1 2 3" > $file +3 4 5 6 3 0 0 1 2 3 1 100 3 2 1" > $file if [ $? -eq 0 ] then echo "$file multi line write success (expected fail)"