From patchwork Tue Jun 8 11:52:49 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: SeongJae Park X-Patchwork-Id: 12306593 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 E17B9C47082 for ; Tue, 8 Jun 2021 11:53:33 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 9546C6124B for ; Tue, 8 Jun 2021 11:53:33 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9546C6124B 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 35AC66B007B; Tue, 8 Jun 2021 07:53:33 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 2BC9A6B007D; Tue, 8 Jun 2021 07:53:33 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 09AD56B007E; Tue, 8 Jun 2021 07:53:33 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0194.hostedemail.com [216.40.44.194]) by kanga.kvack.org (Postfix) with ESMTP id CCF936B007B for ; Tue, 8 Jun 2021 07:53:32 -0400 (EDT) Received: from smtpin34.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id 65CA298AB for ; Tue, 8 Jun 2021 11:53:32 +0000 (UTC) X-FDA: 78230396664.34.F008F81 Received: from mail-qk1-f169.google.com (mail-qk1-f169.google.com [209.85.222.169]) by imf26.hostedemail.com (Postfix) with ESMTP id 51B5E40002E4 for ; Tue, 8 Jun 2021 11:53:30 +0000 (UTC) Received: by mail-qk1-f169.google.com with SMTP id f70so4608222qke.13 for ; Tue, 08 Jun 2021 04:53:32 -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=D58QvjfAEUuFa2sQo4m4/NULizMsxON2k/Lqjog3pKs=; b=ShuEUzDpgEGR2MxV12KhZZRzCcu1EdFYf3mzV5BCeU1K6sktfwuBpq3jXPok+eJYfP Wag9ue5iMXqj96twwC5Pp1lfV6Wo7cFpfxfknl83s4ZsoRm4+00TbMdo6eXh73DZY4xv RyBF/QOH79FLuYYiwrROMm0FbnB47S69UIkNKePmXmjc86jwCM5Aj+BIcZAWYYkOHwt/ oAbrRlBqpNsnWodJXJMVE4Nkgin/tg49WmLvzSVkhkourZ8PqVS+A6O44PtJE04+P/Si W81wvhAAJp2es8cdX5Q+MS7G91Tm26cX+N3TXWt/aKWggARqaMQ4XIfz0vZrBpdExjwt 165Q== 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=D58QvjfAEUuFa2sQo4m4/NULizMsxON2k/Lqjog3pKs=; b=dwyd9j+1OSCNhCpxq5p4y04d7k7/XgwdISp/TAj9BBpVI4tAKDd8D9R3VdimSRCUh+ 05Q3RhLiLSLAF7iBlohpp820AhZXzWiha3xrvrbF2rkpOiwSde82fZ3cZAspFS5/QbLm 6JDxTOSLtMvnh9YrcjQ2HuzmiYOvwlOAOuIVNv62oM5s3LYhsGABUMFjj0cZMihA7mot 0vZ9/8JzpmpPYhJyWDxVkQAR1PeDz4w3VAvBVSskbs3U6JmRj9N3VFbC0bheeEI7hGwp frojd3uyLYfXACbZ4OHeq0lFsQ9Cg0xp2BqEasLcdZKKE9mXNZd5EOW0GKxB9rms8siJ bxvw== X-Gm-Message-State: AOAM531Sh/iRafF+/b735crgmzMI/8ChfGmc2i0dT+4yigMN1LJsLjmI KF2yOOw2ArcXiFuuQTEpfwE= X-Google-Smtp-Source: ABdhPJySXLhnY1lAPd5sDJ+FjzYt3zkT5ln+T3NwujiPhhhQ8CUb3OuZ6Hz97KH4ZYFpjvEbU5PK9w== X-Received: by 2002:a37:43cd:: with SMTP id q196mr426583qka.486.1623153211595; Tue, 08 Jun 2021 04:53:31 -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.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Jun 2021 04:53:31 -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 09/14] tools/selftests/damon: Update for regions prioritization of schemes Date: Tue, 8 Jun 2021 11:52:49 +0000 Message-Id: <20210608115254.11930-10-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> Authentication-Results: imf26.hostedemail.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=ShuEUzDp; spf=pass (imf26.hostedemail.com: domain of sj38park@gmail.com designates 209.85.222.169 as permitted sender) smtp.mailfrom=sj38park@gmail.com; dmarc=pass (policy=none) header.from=gmail.com X-Stat-Signature: jbi69tgtfyursscuforeibosttxmadn6 X-Rspamd-Queue-Id: 51B5E40002E4 X-Rspamd-Server: rspam06 X-HE-Tag: 1623153210-609586 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 the DAMON selftests for 'schemes' debugfs file, as the file format is updated. 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 012b0c1fdbd3..262034d8efa5 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" > $file +echo "1 2 3 4 5 6 3 0 0 1 2 3" > $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" > $file +3 4 5 6 3 0 0 1 2 3" > $file if [ $? -eq 0 ] then echo "$file multi line write success (expected fail)"