Message ID | 20230802213222.109841-4-sj@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9f41:0:b0:3e4:2afc:c1 with SMTP id v1csp744184vqx; Wed, 2 Aug 2023 14:44:46 -0700 (PDT) X-Google-Smtp-Source: APBJJlEbYmRbPSjI5zyLPQlA5mtPNnqmsqLbSs4KtchuRG9JltxuhOtS60x/47zN/iBrkXzIf9XP X-Received: by 2002:a17:906:24f:b0:993:eef2:5d53 with SMTP id 15-20020a170906024f00b00993eef25d53mr11949908ejl.0.1691012685829; Wed, 02 Aug 2023 14:44:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691012685; cv=none; d=google.com; s=arc-20160816; b=jx5mcDpMNbLG1ml4/xGv+6R1UtzmydWdHua9OjxFxb+cDxSbZoXpAR8qjGxb/Y0MWj fuKPJZ3jxXUm3/kAeqa4BpP9Vve/hHAT/wpqmX0WpT+hpurUzJRn9Ay2ggEQFcWdefqx 7NLa483VbCwCtXy5huPHxOUJSZ9OPDUAakjWKKNf8xBfuAqz/kZ5VGXJDpVLaHMUq5qt mIh00y/BG7A0iVjdl4QSpzmP9lbobLxzYW5QP6Nof3ZDrhlGe+hM2HtCXKtNp6B/ZTng Ul7TvBZtMXXkyUIBG3nHk3NMtCyJQnERYqTtCbV09ERUF+vmJhQOJwUQkKYisyV20LJc l9kw== 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=M6iKB/8DnuuuqI3l7pYmM8Gm6s8Ppxk8Sj40hVY7DBA=; fh=hJpvtmYKYE0BOPLgUEDgOmGgYMxmJ79pj0vtAYRNCO4=; b=EEOC0+LlXGIvTbW82fJgfwZmcwCoN7OfNSQwVknoAPicJzWregWqhhBGwYTL7EEJjd KZgg0k7m3QCLKlgNhA3TVM8epRcXu7apfBINXP/ayUq1tcRkwCGmBCcsxY1JN8JOqgUU gErb/O0EKoLvFA/gA4jrxDFlXZmADIZMpb0jqs5b1nVw39xiB3fUr2T7CKwRQKg+z3Pf WoiuzNu14XNUavEIc14aDyAyjavmxZJptBy/5uXZwOFIWjR8qd9DBaLnWaf2TpNfhIKY ArNGlxdErBfQa1ZH7FwCb716rsaBHQGK6R1/eY0Nq/Oej32e0shULBsbgsweGspXifkp cvxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=B8eKOqA0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o21-20020a17090637d500b00977e729a2f7si11683431ejc.951.2023.08.02.14.44.21; Wed, 02 Aug 2023 14:44:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=B8eKOqA0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232763AbjHBVcp (ORCPT <rfc822;cambridge8321@gmail.com> + 99 others); Wed, 2 Aug 2023 17:32:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37306 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229744AbjHBVcb (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 2 Aug 2023 17:32:31 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9782819AA; Wed, 2 Aug 2023 14:32:30 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 354D961B54; Wed, 2 Aug 2023 21:32:30 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 14C40C433CB; Wed, 2 Aug 2023 21:32:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691011949; bh=T0fZGypLM6vPpWaOxwTR4DXjjDDCiOe0tcjb/Q7FYeA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=B8eKOqA044Ky8Eh09y4gIXYN9t2lUUZCL9kmmIy/8/wVup+Fz9JompcEKnQSE4jKf rNdmcJT9xd0IfodlTlcndLvX2Na6sPx1JbT9RuOE/wx2KM4b7YbEGyLkffuSceZ+Bc /l2rcKJrVQGxQRjm7e7wQ/sOIx8A2X90cgjvwQ9FEMNRdzU9EZEC7larfDkW0RmVUa EFomDu/3WBUrWr6v4wEUKLbqIRHSxfQoDfMG2TqcAFphcofllNeSdaHPsefS/bArI+ SqYi4oXNcrkHbCEbhjQOaUDlg/0qyd4dBsqQHZEM9pIX8GCakb9VXQJvvEx/nNj81F BQ+3vr2RfZiuw== 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 3/5] selftests/damon/sysfs: test tried_regions/total_bytes file Date: Wed, 2 Aug 2023 21:32:19 +0000 Message-Id: <20230802213222.109841-4-sj@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230802213222.109841-1-sj@kernel.org> References: <20230802213222.109841-1-sj@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1773155317741665345 X-GMAIL-MSGID: 1773155317741665345 |
Series |
mm/damon/sysfs-schemes: implement DAMOS tried total bytes file
|
|
Commit Message
SeongJae Park
Aug. 2, 2023, 9:32 p.m. UTC
Update sysfs.sh DAMON selftest for checking existence of 'total_bytes'
file under the 'tried_regions' directory of DAMON sysfs interface.
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 bcd4734ca094..967e27267549 100644 --- a/tools/testing/selftests/damon/sysfs.sh +++ b/tools/testing/selftests/damon/sysfs.sh @@ -84,6 +84,7 @@ test_tried_regions() { tried_regions_dir=$1 ensure_dir "$tried_regions_dir" "exist" + ensure_file "$tried_regions_dir/total_bytes" "exist" "400" } test_stats()