Message ID | 20210720131309.22073-7-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 6E368C636C9 for <linux-mm@archiver.kernel.org>; Tue, 20 Jul 2021 13:14:18 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 0C31D61106 for <linux-mm@archiver.kernel.org>; Tue, 20 Jul 2021 13:14:18 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0C31D61106 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 BC2146B0072; Tue, 20 Jul 2021 09:14:18 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id B98476B0073; Tue, 20 Jul 2021 09:14:18 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id A14566B0074; Tue, 20 Jul 2021 09:14:18 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0041.hostedemail.com [216.40.44.41]) by kanga.kvack.org (Postfix) with ESMTP id 76F176B0072 for <linux-mm@kvack.org>; Tue, 20 Jul 2021 09:14:18 -0400 (EDT) Received: from smtpin20.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id F3379181F24A4 for <linux-mm@kvack.org>; Tue, 20 Jul 2021 13:14:16 +0000 (UTC) X-FDA: 78383009754.20.09E32B8 Received: from mail-qt1-f170.google.com (mail-qt1-f170.google.com [209.85.160.170]) by imf04.hostedemail.com (Postfix) with ESMTP id A0EA650000AD for <linux-mm@kvack.org>; Tue, 20 Jul 2021 13:14:16 +0000 (UTC) Received: by mail-qt1-f170.google.com with SMTP id k3so15288236qtq.7 for <linux-mm@kvack.org>; Tue, 20 Jul 2021 06:14:16 -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=6X6ejMAiX1gTqZemYodAPU0FplHO/tuxF/5lomt1hjU=; b=tf4s/IAcedqyKa5fvHgtNtrGASUG219LraSto3HNwbBVrNJU+nMFn+PkEJbLd6nXlQ 98/KaDnk2ND9d7mbHxkV5+hEM9s/CXsVNf/qpGkxzNtsDgZ9xjNHzBW0aU2uZFXbu/kg 7+gcPwUTvewHHnOYexqtadBZVxY3lJAniiYEAaKrq/V+RR7K3pbRh4aWJCHNHiPnnjmD y1hR1ll5fyIu/w0y2naIiRn59RBzWEjGWbCsRd6UYh14W97IeXyEHGwXC50f0+P80b0d EtuFPqgBSv3TG8VeWFea5gValIaA0VFcEDcIWC1JcGPuCuHM8pWkyGJtiBAfsn5haanv 0wLA== 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=6X6ejMAiX1gTqZemYodAPU0FplHO/tuxF/5lomt1hjU=; b=Y0Bnz/IR8XxOdhk+qx5UOdVUyRipJW8F+L1HmdVyAuC3Qd4n2cIWC0r4FJoYBgFuI/ o4o67J2C+5Hv9IOosNukb5lV/rnksY3wVbUif6U3ZSlQW9lbL3N5ZVb7RwQpZMvY71c8 vGqv3XxTFvKsV47ysCn1mUJB6/Ji6tMPfQnU/GbKxrF8P8SJEICiK8XOK4Aqntrvf/zT eO7lBp2QgbyTM0Qx5Co37QIEpnrRRDpJli54xUZaea2i6FQJZhb8PCef2kXog98UzGcO Nj4UaaKgkJ7TxRJ6yLJF0fV7f75CNRADxGL0yh97cxomzJdkclYSJ261s40xEwwmBzPU HwJg== X-Gm-Message-State: AOAM530QB+yALnbx3iP0vdkNGSaGLU2ub3jxL3AnqBnFmZhgZeK85KfC ked2P7BR79Cr+dey3FmwGR0= X-Google-Smtp-Source: ABdhPJwsAlEOMXXQ2Y7PmLM2hx/Iw/tBsTpoGx1Mclm+eVfAI860b1H7MueLWvBl2anRMaE2Ex9fHQ== X-Received: by 2002:ac8:734b:: with SMTP id q11mr26406393qtp.105.1626786856080; Tue, 20 Jul 2021 06:14:16 -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.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Jul 2021 06:14:15 -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 06/15] mm/damon/selftests: Support schemes quotas Date: Tue, 20 Jul 2021 13:13:00 +0000 Message-Id: <20210720131309.22073-7-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: imf04.hostedemail.com; dkim=pass header.d=gmail.com header.s=20161025 header.b="tf4s/IAc"; spf=pass (imf04.hostedemail.com: domain of sj38park@gmail.com designates 209.85.160.170 as permitted sender) smtp.mailfrom=sj38park@gmail.com; dmarc=pass (policy=none) header.from=gmail.com X-Rspamd-Server: rspam03 X-Rspamd-Queue-Id: A0EA650000AD X-Stat-Signature: mae9wwkkausmq7m7b8qyxxudko6i1xdj X-HE-Tag: 1626786856-145497 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 63908a4c397b..b6a09ed6a1fc 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" \ +test_write_succ "$file" "1 2 3 4 5 6 4 0 0 0" \ "$orig_content" "valid input" test_write_fail "$file" "1 2 -3 4 5 6 3" "$orig_content" "multi lines" +3 4 5 6 3 0 0 0" "$orig_content" "multi lines" test_write_succ "$file" "" "$orig_content" "disabling" echo "$orig_content" > "$file"