From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) (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 B30EC3E16A8 for ; Tue, 4 Aug 2026 16:31:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.165.32 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785861106; cv=none; b=UO1KcvKpj57Ct/6BZo1XzVZROK+pkDoJHd2BYYH7UO6dBOSId/HXVJ9HwZL6UiO+vsclN//j2QQLFmSmRElIsea9la+LjZo0YJwu7LjFKwJUfVAW3V0qDo6LI43GwqpkJmMxhFXBysCYpAPEn5Dq/3GdQJi9cjTLYZZL2O5aEoM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785861106; c=relaxed/simple; bh=sZ0d3TIMRvR1XGr+IGYVvD0j4NnDULvaq7bT1ZcPW4s=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=i6WKQcg+JvTs7dqcuVQUElO+pxy2TqkglAiNWfDRRMrYFOL4+yE0ntuCEQxsNv0EeDGfDw6X1lzDU8uuomEXE5oOBi97Lo56GICx879sCn2x9NAdx0QL5I1YcxGjBtTZlQwiZFtCMg1h5sp7VE4ZoU+URWrjkIiwIfFX1xfqCI8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oracle.com; spf=pass smtp.mailfrom=oracle.com; dkim=pass (2048-bit key) header.d=oracle.com header.i=@oracle.com header.b=bpYUGFir; arc=none smtp.client-ip=205.220.165.32 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oracle.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oracle.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=oracle.com header.i=@oracle.com header.b="bpYUGFir" Received: from pps.filterd (m0246617.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 674Fu4gV1392975 for ; Tue, 4 Aug 2026 16:31:42 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h= content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to; s=corp-2025-04-25; bh=zXINEFmN+BNBejwz H79/YXhH+AQUwhtHIMxMdPIcv2M=; b=bpYUGFireFvc3BZxwj0gQ1zfaYvgPf5w A5Zro3SQujgwd3I+SipMJ3SNZeSDB/yuIaWBPybVGntqLaHeDzF6xYU6aLm6TN9C 8bv4Ea0q2LZlEVi+cGcrKR+JTjA8+xYAwOM8sY2x6Nuq6QJguz5swgGRZmgnmon3 adfpnzQ88JRLSywjBwue0nCAl/lv97fNy+drzcUIH5nb34LJKpUqjumC8dd8OJUE n1D3jx3eyoCTR68rBA9VinicI3FTaCpvV/GQIwytBVc3p5als3cFPIToM+x8BXt+ O4daC9nmybqfq5HGW3m8L2cwePYIfH3OyuJotLpaPtE/EtXM+eKsGA== Received: from phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta03.appoci.oracle.com [138.1.37.129]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 4fs9bt5wnn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 04 Aug 2026 16:31:42 +0000 (GMT) Received: from pps.filterd (phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (8.18.1.7/8.18.1.7) with ESMTP id 674GU6Bd035010 for ; Tue, 4 Aug 2026 16:31:41 GMT Received: from lab61.no.oracle.com (lab61.no.oracle.com [10.172.144.82]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTP id 4fs78c9xxd-1 for ; Tue, 04 Aug 2026 16:31:41 +0000 (GMT) From: =?UTF-8?q?H=C3=A5kon=20Bugge?= To: linux-kernel@vger.kernel.org Subject: [PATCH v3 0/3] test-ww_mutex: Miscellaneous fixes Date: Tue, 4 Aug 2026 18:31:33 +0200 Message-ID: <20260804163139.3121781-1-haakon.bugge@oracle.com> X-Mailer: git-send-email 2.43.5 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-08-04_03,2026-08-04_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 lowpriorityscore=0 suspectscore=0 adultscore=0 mlxscore=0 bulkscore=0 spamscore=0 malwarescore=0 mlxlogscore=420 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2606160000 definitions=main-2608040133 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwODA0MDEzMyBTYWx0ZWRfX9abBjHvCUvXb dK5N1ffBM6PfSDHbkcL/gyfDnSXH7hjfZA3mgD6vB/NeD9Mlkp50FzDzHRVA2Lt+dIHVHAeMjFV NpoTU29BY3klEyI2T1K3p7x33YrRjDnC+EK0ew/3K4RYkRZ4WZh/r3l+8qWguseR289VsZ3YH2S KA6JjXMGC7Aa9pN8oaHdYtBLSd2fpdrzkiNThEsLBI95066xEbcOLcIzyKvhPh1v8+laVkV2ngz 8xPFSCkAZ+D7tYBLoGeiez0dnzBTt0yFj5Tkr1lKgV8S+GkMeEcswZfRWrtgERjc0DDo00tFE3i idlE8rNYeiInUfXXgDAidvwi+ooq8R1f5ucTVRbinriyc+TMthEZE2naOKz3KGv4G1++2oxLhFx 6Jkb6ZK3r7grxElKsxR0WxDPN5bduTF2vbKV3E/rvUJH1NMJatZE2tEzRrqmxSHaqpy4OsNnlSS 4BgOsabniYq94F4Bt8A== X-Proofpoint-ORIG-GUID: 8M3rzNMjbcLQVfOCXalGdlmrmadMP_79 X-Proofpoint-Spam-Info: AW1haW4tMjYwODA0MDEzMyBTYWx0ZWRfX0Q2OAG7mDVm8 4f50Ylc3EpzknSKrPBJxUBu4HeMSAhk9YwYh/lPNS5nI1MbWymYTDX/mkDvs72oLSM79Jlm8JIy IJBBBf6/fOiJcMbY4t92M0Ja5PxEwwYOnS46s4aO+lDsgw99Z8WL X-Authority-Analysis: v=2.4 cv=ZOTnX37b c=1 sm=1 tr=0 ts=6a7213ee b=1 cx=c_pps a=WeWmnZmh0fydH62SvGsd2A==:117 a=WeWmnZmh0fydH62SvGsd2A==:17 a=IkcTkHD0fZMA:10 a=Sv0fKeRqtYgA:10 a=M51BFTxLslgA:10 a=VkNPw1HP01LnGYTKEx00:22 a=jiCTI4zE5U7BLdzWsZGv:22 a=7Gl3-_t3PgB9XO-mQDs3:22 a=3j3c6Jzegd3tkJo688oA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=WmVTiCyuxqgg3mnwYu6p:22 X-Proofpoint-GUID: 8M3rzNMjbcLQVfOCXalGdlmrmadMP_79 This series fixes: - module cleanup - error propagation from stress workers - transient -EDEADLK handling in test_cycle_work() The series is re-based on v7.2-rc6 and has been tested on a 96-CPU x86_64 bare-metal system and a 160-CPU arm64 bare-metal system. With the test "stress_inorder_work" disabled, both systems completed 100 iterations of tools/testing/selftests/locking/ww_mutex.sh successfully with the self-test as a module. With the self-test as a built-in, the systems survived: for N in {1..100}; do echo 1 > /sys/kernel/test_ww_mutex/run_tests done The main differences between the v2 contribution and this v3, is that the last patch is removed. HÃ¥kon Bugge (3): test-ww_mutex: Fix module cleanup test-ww_mutex: Report errors from stress workers test-ww_mutex: Handle transient -EDEADLK in test_cycle_work kernel/locking/test-ww_mutex.c | 65 +++++++++++++++++++++++++++------- 1 file changed, 52 insertions(+), 13 deletions(-) -- 2.43.5