Message ID | 20230916020945.47296-8-sj@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp1436271vqi; Fri, 15 Sep 2023 19:16:53 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFPeg/Y1k/wtmSsMWOb5hOxXHdn97S9kjbP6GOzF4u4sUMDotANeEkjn6ixMNJUKJUlf6z3 X-Received: by 2002:a17:903:2302:b0:1c0:afdb:1e6c with SMTP id d2-20020a170903230200b001c0afdb1e6cmr4399722plh.8.1694830613392; Fri, 15 Sep 2023 19:16:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694830613; cv=none; d=google.com; s=arc-20160816; b=NG35K5YPq4w6Dz1K822+5goNdlyqIqGcLUw9xDUrb3VXd+xGGDGGa0ypHpUpfAJEq6 2iPd0bcZbdOd6YB6BqgMy0QS0jgFZs5pHSgv9jsTBRVw6yrpJGU3BDzaa61hpmFpn2pl KZ03Oq/qnmi1e85MhlJnB0CvDzAJxvyprfFhMAnpqxqOLvW0kwnKFsRW4VXC3xVxGC5N 1XEpx91RU25chID39krW4VRTYY6KfgxgSLtHHfJdAr3LWgwn5eRFiSkfdnwSThlvJIG5 eMh225quoyphqfXmnQKs3DaDUWXnjoCv5SyZQ6SoZ6B/8bxGV3O9NpmJAXmDubuwLk1/ VAWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=QGvGFrXp8RrAxQNw97Ot4AaOxtjAjo+XaujrL0TRHLE=; fh=9H4z7/o7y4OLn0xLmjdSk9Pth53+ED/R+iGnGlnIr7g=; b=o7jMd7saKJIztFUtCidc16IsKofC4wcYkfTc3ZGTQAb1jY15Lg5cdeabVXOPEYuuI0 DOFxqCTy4ILJQPiQ7+wU6mPpz50U5XvWtsYFCEtH8+yUgxP+/RG/R7pYfqrdVmebZtvp /F1uzidJix5et0P9sNgt8HrogFbOx2yqvqGyg0v+VGqRwiUgfdTmBUHbsCsCC82ns1H+ Y6V8O3C33YKiJkTlJP1NZy47xS81bhZo9JgS8acrL+GIgRd+cJzMTfpi75XWu3HfDM99 TS3dIVVDGIELVRRSlQtoIrSJPEy2DEebx0yYjYtTVCaxBgwVAdqQ9YsoBbFx1o6q9WUV ucOA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=SKhM4RCi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id j3-20020a170903028300b001c4329b77bfsi2031570plr.123.2023.09.15.19.16.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 19:16:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=SKhM4RCi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id AF7CA80A0E34; Fri, 15 Sep 2023 19:11:29 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238560AbjIPCKc (ORCPT <rfc822;toshivichauhan@gmail.com> + 27 others); Fri, 15 Sep 2023 22:10:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35456 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237962AbjIPCKN (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 15 Sep 2023 22:10:13 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 08EDD173C; Fri, 15 Sep 2023 19:10:08 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2D3E2C433C9; Sat, 16 Sep 2023 02:10:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1694830207; bh=I2fvF7L5MWw0Xd6X92VF2iHBCnxT4grJu/1S+mVZwhQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SKhM4RCiPW/WTsWk5JRgIEMREqf3W6POSXpmuWjX+pNtpbUKhf9uSSUSCfWwTyVmt O0IjP4qBbo7CWUTv7afVCGvVFZEuytTab+a9LlQKW78/utBW81O3uDztR6cOx5ev64 pIX82Gd/olQdHoBt8QLIc80rPpTTZd16EGrkeI9BkD0T3iFbc0tiYmCH/AFuqA2fFY j4s2acBog/OIGBGeyBvNG+xzEImkvBvcF83HnXH9ajYft0z5YG6VdlyQ3G190oTika y4PWdtiibt/78XrDsqhUy3bsC2YFWGbyhY1zo9tv79mChFaA9yJPIfOFqFoQTp8xQD H4lwh2LfGuiTQ== From: SeongJae Park <sj@kernel.org> To: Andrew Morton <akpm@linux-foundation.org> Cc: SeongJae Park <sj@kernel.org>, Shuah Khan <shuah@kernel.org>, damon@lists.linux.dev, linux-mm@kvack.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 7/9] selftests/damon/sysfs: test DAMOS apply intervals Date: Sat, 16 Sep 2023 02:09:43 +0000 Message-Id: <20230916020945.47296-8-sj@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230916020945.47296-1-sj@kernel.org> References: <20230916020945.47296-1-sj@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Fri, 15 Sep 2023 19:11:29 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777158705116384590 X-GMAIL-MSGID: 1777158705116384590 |
Series |
mm/damon: implement DAMOS apply intervals
|
|
Commit Message
SeongJae Park
Sept. 16, 2023, 2:09 a.m. UTC
Update DAMON selftests to test existence of the file for reading/writing
DAMOS apply interval under each scheme directory.
Signed-off-by: SeongJae Park <sj@kernel.org>
---
tools/testing/selftests/damon/sysfs.sh | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/testing/selftests/damon/sysfs.sh b/tools/testing/selftests/damon/sysfs.sh index 60a9a305aef0..56f0230a8b92 100644 --- a/tools/testing/selftests/damon/sysfs.sh +++ b/tools/testing/selftests/damon/sysfs.sh @@ -175,6 +175,7 @@ test_scheme() ensure_dir "$scheme_dir" "exist" ensure_file "$scheme_dir/action" "exist" "600" test_access_pattern "$scheme_dir/access_pattern" + ensure_file "$scheme_dir/apply_interval_us" "exist" "600" test_quotas "$scheme_dir/quotas" test_watermarks "$scheme_dir/watermarks" test_filters "$scheme_dir/filters"