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 B757A3B4EAA for ; Wed, 17 Jun 2026 12:13:39 +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=1781698421; cv=none; b=KLsKoIAVf80OOvrSQy1z+ACl1EOP2UyWWLlWq9U8q7rSJmkb+OOEe4xrT8UKYkDe8ex6U83XTmjHeW+U+U09H0eiS6d/ZFvXWayZIe2Uuqdb4zmVyzNpIWzd4chSO4t7X+tXtQXcExnCW9MlE/RAJm+fFRIKpRbZQj/CneEDd/s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781698421; c=relaxed/simple; bh=CKYdSV1NIHDjxyS/+pGsr8uzwKgMBmOOVO8RnMK+WxU=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=dbdxiINTTWLu8zD/LUKZGfV841YVQU8zezovUNYWp+6R78rf6ocJs8850wJgosjysS9gW9sUEJ0yZ7pgcBebgIxmCEcmEffJoOnS1/6pUhPBSHdA6rH80/ybcjzTQJmiMGbw6VdaC7Tz9LnaH3nWmHPC3RsLD/leAAFyD3wL7dg= 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=CabJKb9x; 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="CabJKb9x" Received: from pps.filterd (m0246627.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 65GLXYPl632922 for ; Wed, 17 Jun 2026 12:13:39 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=PT+k7YBbH+ZbcII/ lXK1xhqiwett0N46b7bdC8sDWuM=; b=CabJKb9xHlQHwCafeEwH7aPt1ZgxFGpe 5LgUVWT156s5abvR+qxMjrkWBMqQSooCZm+09jQ43X/TiiVVb4n0UG55J3yjWaZ6 YrwR3aB7/woo70OstdR6iIGdtLWVKYK1pCIUyLyhQc/a0yupsmYfA4B6IPIOBNHK 5Do0XcRIA1wb96S5EdNWWpiE2eY2/jPsOkloXFACDt9A+dmDpvtb+wrcdGwxck13 CAZ3d1879XUJXfZ7cPeMdm0kxYsQ+oIV6m9UT9uiQ5RpWvn6Ovn1wwfq7eNvBhKp mPjycjxjZmeqqJ+jEB6Cl3PQqVgRSTsR70yGOnVJyWORDO1sO3KJsw== Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 4euegd0uds-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Wed, 17 Jun 2026 12:13:38 +0000 (GMT) Received: from pps.filterd (phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (8.18.1.7/8.18.1.7) with ESMTP id 65HCCtA3031816 for ; Wed, 17 Jun 2026 12:13:38 GMT Received: from lab61.no.oracle.com (lab61.no.oracle.com [10.172.144.82]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTP id 4euduxddkt-1 for ; Wed, 17 Jun 2026 12:13:38 +0000 (GMT) From: =?UTF-8?q?H=C3=A5kon=20Bugge?= To: linux-kernel@vger.kernel.org Subject: [PATCH 0/4] test-ww_mutex: Miscellaneous fixes Date: Wed, 17 Jun 2026 14:13:29 +0200 Message-ID: <20260617121335.2036954-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.1143,Hydra:6.1.125,FMLib:17.12.100.49 definitions=2026-06-17_01,2026-06-16_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 phishscore=0 lowpriorityscore=0 adultscore=0 malwarescore=0 mlxlogscore=733 bulkscore=0 spamscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2606150000 definitions=main-2606170116 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNjE3MDExNiBTYWx0ZWRfX3ybvMkFspvmY 1qOSu05kCpWLPayCsGiLFBiOcjXSm90RBeEgPi0poXRPWI6kJZVxkA5l9ntZI5GyvdtUu68dRpz 94SzS9Bs7wZOwrgPd/j3IpKBLoOj+Ly94eo6Qnih0IMUf0tLqjVbRNUR1rK9iwkeHc//Ngwo8sc /0bX26fn04AronsWtkqnCGf6M/NxSDWoINwpAe6CfYHPLRn8J7294pUTmoBdVBMKS8aAkwRRG77 YKK37K+AMhKVvcFZyjvfeVvYVz7al0c/fBm/mSbkt6xrUkSjtE5prLX8Cr6cqi3gJfbBUqGm+XZ VYX/rIkOZuGVrJtKe4qNVrKhCx80tG442D5XqXBEThfGhhlLs8u7SQrITSAFpVRMkg5LVY+cpKM 0JIDQfBJktVC79xVXSJvLycZotCt+Oe0itmM7mZkr5V9RZiSk4d3kXtwNkgtLwtKyNH62+AuIi2 tOdEnGDfh+SRUC1re1g== X-Proofpoint-GUID: nYqD0gsiNvWFg8w6C5I_wP-q39eiimjL X-Proofpoint-ORIG-GUID: nYqD0gsiNvWFg8w6C5I_wP-q39eiimjL X-Proofpoint-Spam-Info: AW1haW4tMjYwNjE3MDExNiBTYWx0ZWRfX8nwJyW0eO0Zt 3rOttc89qrsUwaEJI5ooE3wdkUxu2Y7ruzgvALLxjH843pqr5qO0OwM4Ru5EHSYaXlHxmaHvQP0 0toJCuLLQaLrtz3HgLT4Xf962cN1041xqcbIdMhmH22r2whrGxAd X-Authority-Analysis: v=2.4 cv=GbMnWwXL c=1 sm=1 tr=0 ts=6a328f73 cx=c_pps a=OOZaFjgC48PWsiFpTAqLcw==:117 a=OOZaFjgC48PWsiFpTAqLcw==:17 a=IkcTkHD0fZMA:10 a=FelO9ux0wxsA:10 a=M51BFTxLslgA:10 a=VkNPw1HP01LnGYTKEx00:22 a=jiCTI4zE5U7BLdzWsZGv:22 a=RD47p0oAkeU5bO7t-o6f:22 a=4CGq_nYtr2GzfMDEJtgA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 This series fixes: - module cleanup - error propagation from stress workers - transient -EDEADLK handling in test_cycle_work() - timeout-related false negatives in stress_inorder_work() The series is based on v7.1 and has been tested on a 96-CPU x86_64 bare-metal system and a 160-CPU arm64 bare-metal system. Both systems completed 100 iterations of tools/testing/selftests/locking/ww_mutex.sh successfully. It is worth mentioning that the last patch retries up to 10,000 lock acquisitions after timeout. This value was determined empirically: 10 and 100 retries were insufficient on the test systems, while 10,000 provided stable results and avoided false negatives. HÃ¥kon Bugge (4): test-ww_mutex: Fix module cleanup test-ww_mutex: Report errors from stress workers test-ww_mutex: Handle transient -EDEADLK in test_cycle_work test-ww_mutex: Retry lock acquisition after timeout if deadlocked kernel/locking/test-ww_mutex.c | 55 +++++++++++++++++++++++++--------- 1 file changed, 41 insertions(+), 14 deletions(-) -- 2.43.5