From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out30-131.freemail.mail.aliyun.com (out30-131.freemail.mail.aliyun.com [115.124.30.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 222A372636; Fri, 13 Jun 2025 01:49:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=115.124.30.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749779377; cv=none; b=LLgiRYp4GBwlBaIu0w4AA69FsQwggBp3GuQaT+ttB0OwvAwzCXih1U4iBugAy+w1EqhxGEh9zF+JREb+RGzw5pIu8eND0oEVShTIVt4zXE3+2AJ186BO3yd+6JlAENkkmZ3RoIug+9nXMOo60ANeGHAiOKrRdMy+Z17yyzJdfBc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749779377; c=relaxed/simple; bh=sM5LQBogj1YqlTMubTmqr5U56exFczyX2txJ3YgHXlY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=OSafzb/10qR1ws578ibrYk6H/1Q3z1GUwKPXm2mDNz1Nhab4N7TET4X2MLgRu7sSMPsWkMMv22SphJt3ecggfVGOCVMcVHTUA4Dcl517eU1CF1t/3XWZYNKAh8uCBxWBGWjFAVM4uEql/osTfRfEjdbm9tLcbJYbhS1GZs1A6CA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com; spf=pass smtp.mailfrom=linux.alibaba.com; dkim=pass (1024-bit key) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.b=FLUNqVcF; arc=none smtp.client-ip=115.124.30.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.alibaba.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.b="FLUNqVcF" DKIM-Signature:v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.alibaba.com; s=default; t=1749779372; h=From:To:Subject:Date:Message-ID:MIME-Version; bh=FtipOg0jR+RxbNWbEIuvLEIIRNhaeKYX+tgFf32YOWs=; b=FLUNqVcFNfKqNIFKCVkRB7ptQ88o5tBolUGApXZBb3q2lyBk/mOF6xiGGWpv1oCAFsgThCQ+Z2jFrRXHJU/Za4B04qHU1rGb8Nzbm7VZkj0LZJ5hnV01oijMeUZJqLnP1oTChPOdIi5eEdMm9MJJJfuhCdGVgteubWA96aAEQl8= Received: from localhost(mailfrom:baolin.wang@linux.alibaba.com fp:SMTPD_---0WdiYSol_1749779371 cluster:ay36) by smtp.aliyun-inc.com; Fri, 13 Jun 2025 09:49:31 +0800 From: Baolin Wang To: akpm@linux-foundation.org, david@redhat.com Cc: lorenzo.stoakes@oracle.com, Liam.Howlett@oracle.com, npache@redhat.com, ryan.roberts@arm.com, dev.jain@arm.com, baohua@kernel.org, shuah@kernel.org, ziy@nvidia.com, baolin.wang@linux.alibaba.com, linux-mm@kvack.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 2/2] selftests: mm: add shmem collapse as a default test item Date: Fri, 13 Jun 2025 09:49:20 +0800 Message-ID: X-Mailer: git-send-email 2.43.5 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Currently, we only test anonymous memory collapse by default. We should also add shmem collapse as a default test item to catch issues that could break the test cases. Reviewed-by: Dev Jain Tested-by: Dev Jain Acked-by: David Hildenbrand Acked-by: Zi Yan Signed-off-by: Baolin Wang --- Changes from v1: - Collect reviewed and acked tags. Thanks. --- tools/testing/selftests/mm/run_vmtests.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/testing/selftests/mm/run_vmtests.sh b/tools/testing/selftests/mm/run_vmtests.sh index 33fc7fafa8f9..a38c984103ce 100755 --- a/tools/testing/selftests/mm/run_vmtests.sh +++ b/tools/testing/selftests/mm/run_vmtests.sh @@ -485,6 +485,10 @@ CATEGORY="thp" run_test ./khugepaged CATEGORY="thp" run_test ./khugepaged -s 2 +CATEGORY="thp" run_test ./khugepaged all:shmem + +CATEGORY="thp" run_test ./khugepaged -s 4 all:shmem + CATEGORY="thp" run_test ./transhuge-stress -d 20 # Try to create XFS if not provided -- 2.43.5