Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp4961239rdb; Fri, 15 Sep 2023 19:23:30 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGkLbQKGkCasJY8L6UWyrQ5FBJTtuWl1gfQxj3aio/32SCOQ/48StuVutBUBA6XLzZ8n8nM X-Received: by 2002:a05:6a20:565b:b0:13f:9cee:ff42 with SMTP id is27-20020a056a20565b00b0013f9ceeff42mr3200358pzc.41.1694831010354; Fri, 15 Sep 2023 19:23:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694831010; cv=none; d=google.com; s=arc-20160816; b=DiZV2XRRESBfTQsWnTbQGrGpe4Q64B/4DqAKf7ycvI//7+js5NT8XTkkqMy1z8/AWF EUOy32dzkW15kLBbTUfwZqUa7VyYWXlYKwvvhVyMuORLbTNujZG4ItkGL7K95zcdq3bj YjypOMvL6n4Ly1OivOLhYJE+KxvmLDTVLMLIHkaQvWttZfTGVS48b57N4YMb3iO5t+/4 7HnHuGF+XBetv8ouarXqEMhPAi5wpaeRp6KIPs2K2nxSgLjtfNfbW8Vq1tJEapTQbYPb 6JLXx4hR6RKfPkxgKJMSgRjgFJ8cfIjHODlEv15oBdI/zfUhrTzVpjCh1U8LE8/nmCmJ X8OQ== 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 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id om6-20020a17090b3a8600b00263cdc45e8bsi6855341pjb.87.2023.09.15.19.23.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 19:23:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; 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 2620:137:e000::3:7 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 snail.vger.email (Postfix) with ESMTP id 1ED9482AE2F4; Fri, 15 Sep 2023 19:11:24 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238558AbjIPCKc (ORCPT + 99 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 ); 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 To: Andrew Morton Cc: SeongJae Park , Shuah Khan , 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=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 15 Sep 2023 19:11:24 -0700 (PDT) Update DAMON selftests to test existence of the file for reading/writing DAMOS apply interval under each scheme directory. Signed-off-by: SeongJae Park --- 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" -- 2.25.1