From patchwork Thu Oct 27 17:00:43 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Savitz X-Patchwork-Id: 11888 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp346605wru; Thu, 27 Oct 2022 10:01:19 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5iVVjlrwTS16sfgwlsG8I7WEWQ17ecnyXXyrEq1i556a8Mmh1ucCVHB0blUTLELVetsd9x X-Received: by 2002:a63:cc4a:0:b0:439:1c48:2fed with SMTP id q10-20020a63cc4a000000b004391c482fedmr43313258pgi.618.1666890079189; Thu, 27 Oct 2022 10:01:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666890079; cv=none; d=google.com; s=arc-20160816; b=vLmN8QYzIjKZhRmJI7eFv4IybmLsvZd0ET3Bv41Q6WbcTKjZYPlXS2zc8anyju6wOa G2QlFNzLeZy/K95iZUBMEIm7WUgtJCb/O00vmSnXaw+v4GYldZUxB6n7CSVu3QQiqKlb IkpZnxV3t92BDTVlmzU+3G3kRTw0Vtinh0dcqFki5ouXG/F5jHUTbVutg2nsGlWkO3Pw prlVB1/RcNFIw7dlo0sfDS4jGFeHXnuGX7Q/ougPS1fNFJyPomt6BSEyi73Cf1ZqyaRu IIpG+/FhgwElUznFKho0DJE1WBsowIo9JjlYQcK5Vg6f8sb8gyN2eA1lAOorWtgtQfBq Kr7w== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=OLxo65GqqyDAg4pQmkoaDcyRjV3222s+5rEKoJQtb20=; b=MhH13LxtWcSLYaL+h98E2HROwXigdLm113vmKsw51kM3kE8+f6aBkt+ZOsK3iTr+dn JKVrPScm4OK52ST5sf5LMWx6nxHywqysxSElivzhL7DZk+Uu+SIKPkjf2zkkqomcJjL/ QX0ZLxgjcpxKVDWKV6SSgOnNKP6YnoU5tXgG+msDjj6mEKRsvMjuTPg0LKg/4yDr6Ptu lzfZuzgUynXVWjNP71xpyE9akuKJBZaiyf3LfY8Od7TPJ9NhYLZg7I9/bDvKSpfz03bH ntE3ZUToKVnnKFh/pRM0ascX3FKu9S4h5dHu00wbt7nBMHVrI04GjbMt0sGND2fuDPEu 8/WA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=J+2TlVmf; 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=redhat.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 11-20020a630c4b000000b004307ac80cb1si2148347pgm.338.2022.10.27.10.01.02; Thu, 27 Oct 2022 10:01:19 -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=@redhat.com header.s=mimecast20190719 header.b=J+2TlVmf; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236818AbiJ0RAw (ORCPT + 99 others); Thu, 27 Oct 2022 13:00:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53172 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236815AbiJ0RAu (ORCPT ); Thu, 27 Oct 2022 13:00:50 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8DBC3E22F3 for ; Thu, 27 Oct 2022 10:00:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1666890048; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=OLxo65GqqyDAg4pQmkoaDcyRjV3222s+5rEKoJQtb20=; b=J+2TlVmfzJtlVpfc0vOODnqd/4Q4gMJmERctniPnm5cQs2VDYZqQP0l1iKUcXNLLo7feXk r2Kke2Pho4DlyhlWCPOCx2A7uk0iId6+JjWWQEVejuEDk6RNi1aLHKrYXmCFg1+N8ox97y Q212etztbNgvSmkA7k/lRGvWjB/TnHE= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-556-DzEm0zyWOb6egDRYU4pQAA-1; Thu, 27 Oct 2022 13:00:45 -0400 X-MC-Unique: DzEm0zyWOb6egDRYU4pQAA-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id AEBC9858F13; Thu, 27 Oct 2022 17:00:44 +0000 (UTC) Received: from jsavitz-csb.redhat.com (unknown [10.22.17.203]) by smtp.corp.redhat.com (Postfix) with ESMTP id 666491121320; Thu, 27 Oct 2022 17:00:44 +0000 (UTC) From: Joel Savitz To: linux-kernel@vger.kernel.org Cc: Joel Savitz , Andrew Morton , Shuah Khan , David Hildenbrand , Nico Pache , linux-mm@kvack.org, linux-kselftest@vger.kernel.org Subject: [PATCH linux-next] selftests/vm: add CATEGORY for ksm_functional_tests Date: Thu, 27 Oct 2022 13:00:43 -0400 Message-Id: <20221027170043.2363797-1-jsavitz@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.3 X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE autolearn=unavailable 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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747860931376670399?= X-GMAIL-MSGID: =?utf-8?q?1747860931376670399?= commit e080ceaa69c1 ("selftests/vm: add KSM unmerge tests") in linux-next adds an entry to run_vmtests.sh. I recently submitted commit b5ba705c2608 ("selftests/vm: enable running select groups of tests") to linux-next which categorizes tests by functionality in order to allow more precise selection of which tests are to be run. Since this newest test targets ksm and does not require more than one numa node, add 'CATEGORY="ksm"' to the invocation to group this test with the other ksm tests. Signed-off-by: Joel Savitz Reviewed-by: David Hildenbrand --- tools/testing/selftests/vm/run_vmtests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/vm/run_vmtests.sh b/tools/testing/selftests/vm/run_vmtests.sh index af35dd3bc589..fff00bb77086 100755 --- a/tools/testing/selftests/vm/run_vmtests.sh +++ b/tools/testing/selftests/vm/run_vmtests.sh @@ -252,7 +252,7 @@ CATEGORY="ksm_numa" run_test ./ksm_tests -N -m 1 # KSM test with 2 NUMA nodes and merge_across_nodes = 0 CATEGORY="ksm_numa" run_test ./ksm_tests -N -m 0 -run_test ./ksm_functional_tests +CATEGORY="ksm" run_test ./ksm_functional_tests # protection_keys tests if [ -x ./protection_keys_32 ]