From patchwork Tue Jun 8 11:52:45 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: SeongJae Park X-Patchwork-Id: 12306585 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 23A11C4743E for ; Tue, 8 Jun 2021 11:53:25 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id CB3DD61351 for ; Tue, 8 Jun 2021 11:53:24 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CB3DD61351 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 6DD756B0073; Tue, 8 Jun 2021 07:53:24 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 6448C6B0074; Tue, 8 Jun 2021 07:53:24 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 3FB2A6B0075; Tue, 8 Jun 2021 07:53:24 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0252.hostedemail.com [216.40.44.252]) by kanga.kvack.org (Postfix) with ESMTP id EE7406B0073 for ; Tue, 8 Jun 2021 07:53:23 -0400 (EDT) Received: from smtpin01.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id 92AD0180AD80F for ; Tue, 8 Jun 2021 11:53:23 +0000 (UTC) X-FDA: 78230396286.01.82BC966 Received: from mail-qv1-f50.google.com (mail-qv1-f50.google.com [209.85.219.50]) by imf29.hostedemail.com (Postfix) with ESMTP id 625B0544 for ; Tue, 8 Jun 2021 11:53:18 +0000 (UTC) Received: by mail-qv1-f50.google.com with SMTP id w4so3137348qvr.11 for ; Tue, 08 Jun 2021 04:53:23 -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=4ZGpG/OoDyFj8zWzsVNZahhh/PU2Xw0WQnYylGT37eU=; b=Yq42KPRH05BimDLNJKHdfHTmPCD/zIWdkIN6o+96suXi52Za+1HZdprMUeI5P+427S AEqy4LePzL2ryEKdqpcE4J98KUIVG4QY5h83SDWdBQfV5BOP2gulJgm4yAWQApUiumXo qzUEKKLq/VNGYJB1Y4FBTxNXM2oZMlHeFDNuwsyqs7kUJcmgzIdLwvZcLLwcHcPxmxSq VxLhAu9eLYgyfDhcBnCJv7V9o9gaKsU+rE7KMlucNQ939EfHDtb5RlpAg4mYxB/JGTiW lUjyT3mD02/BMiv49C2TrYj04olrTuDDS807u03bHDn6/ePDwndCtnrLg1OAW/7QpziZ DKyg== 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=4ZGpG/OoDyFj8zWzsVNZahhh/PU2Xw0WQnYylGT37eU=; b=JCWO1QGBTUfk7E8HFKlEcVzZEs5hByz6KEqGRWgZ1JbPLe7JszWDhkcUebVMCMTiiI AQMQ6gqqfL5Is6h19yJZyf7WqlGG1Wdv53GHhtIP+JFNqDtz33aE5BaIiQmh13hFzDkB g/BNAJdn2rRfM5CIjSLM79+r32uywFnXYMY8Kx46D3R0CECj3sGVuehEmP4PjHLW5CTn lRjMbKTcjCPRziR9L08PASeUQmi9POjMQMBPBsEYsA17HputIxcmUvRA6e1IOGdgdRjl 26dJqmAOfqFJ2FwugG0EP7vVSqt7+C55jrRkZcEKz9yW7Q4IFcJUiixilWbeSzy7u1zX SzeQ== X-Gm-Message-State: AOAM533Q5ibgpeblzCBqO26aKcJ8hQEqo/JX6UTAUMDaMtF6g03niCy+ d8mOkfFIR2gzKGw6tCi0YWQ= X-Google-Smtp-Source: ABdhPJzgDOgfXw9JK8azbDW7zgdkh/TmBzWQYC3OVdiC73Izm7VnyBqSB9ks1x4aSR7N2SPdb6QUKw== X-Received: by 2002:ad4:57c4:: with SMTP id y4mr23083873qvx.12.1623153202673; Tue, 08 Jun 2021 04:53:22 -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.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Jun 2021 04:53:22 -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 05/14] mm/damon/selftests: Support schemes speed limit Date: Tue, 8 Jun 2021 11:52:45 +0000 Message-Id: <20210608115254.11930-6-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: rspam05 X-Rspamd-Queue-Id: 625B0544 X-Stat-Signature: jc9z4c8efy9ayn1zqzxu38f5jwixkog8 Authentication-Results: imf29.hostedemail.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=Yq42KPRH; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (imf29.hostedemail.com: domain of sj38park@gmail.com designates 209.85.219.50 as permitted sender) smtp.mailfrom=sj38park@gmail.com X-HE-Tag: 1623153198-335803 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 to support updated schemes debugfs file 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 61fd3e5598e9..012b0c1fdbd3 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" > $file +echo "1 2 3 4 5 6 3 0 0" > $file if [ $? -ne 0 ] then echo "$file write fail" @@ -110,7 +110,7 @@ then fi echo "1 2 -3 4 5 6 3" > $file +3 4 5 6 3 0 0" > $file if [ $? -eq 0 ] then echo "$file multi line write success (expected fail)"