From nobody Sat Jul 25 01:54:02 2026 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (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 1A3D92DCF55; Mon, 20 Jul 2026 19:05:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784574340; cv=none; b=KkCmWQkczhhZ0xC9T9JngcVyCWh5emXS0EmqixQWzZn94NsGi5Epab5b0m2klj2UpdxeoYPwYJuphMPIvcWNz198gPa+dq1cDfdRhCpNauzub6aAM5L8DkpKmDUWqeb8TTUeTKJcDebE4RpBz7BJVv35zl9oTSu0n5GkDbimxaU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784574340; c=relaxed/simple; bh=Y/sZ2sQX1iJuV2gTjMFf/HdK2/lUqe6RlD/J9Ri2HFs=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=rhrh0W8BgQjtEMj8o87KCtIjwNbjei+/LGh0MfQfsIXTqDaoQJiJfDTaj/jHO377U7o9JqEQ9qu8ulx0JryA6nEhnyvAOmmFcoHFlqz53e9kW9iymPf3fz1jy+YqGsSSCZxP2ejqbycSBkuyl/49SHAd4JADzE1ab+NHJOSrTWg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=xYwQRckR; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=BP6Os7Rj; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="xYwQRckR"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="BP6Os7Rj" Date: Mon, 20 Jul 2026 19:05:34 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1784574336; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=0v5VVKB3EvITHUQvJv6o3pr3/VezXYJag4Z0wDuKDfs=; b=xYwQRckRcq9aiyIGkq7GtCq02DyInZ8S+8DW9H7sqO0dl60aMsSjQHSMUyqc5CXSmytqrp n9P67X7rgRht/vRJdaKxIAI2Qab1WUvhTNCy4P6u9PQF28joAbFKLasXIPTEk5RLHktUyQ AR7YdoejRVrGjvTJ/otSSAQM3d21NJxEeaRx4SfbxGQ+uzs9+1rrUGWuKPtgIURkYn4lNY TKJSXV6tfB+l9VhFPN0raBeMqzPll3BfqnWHUm9NdoJ9q/mT6g0fSfSvKqtoCmeYTR32KI kUB7C0Nsxu/Ih4SkvSWFMcBo60DFgGBZxnbDJkoKGfkW/gfDovLBb0P/4yiS9Q== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1784574336; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=0v5VVKB3EvITHUQvJv6o3pr3/VezXYJag4Z0wDuKDfs=; b=BP6Os7Rj6DXQSX9+XrFRtDs26ITkj7LVHlR5I5QbZ/u3H4r+zSaF5j3+C2h71clHc8yAlO ShcBWLIQLm9hRsAA== From: "tip-bot2 for Miles Krause" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: locking/futex] selftests/futex: Give circular-list nodes static storage Cc: Miles Krause , Thomas Gleixner , andrealmeid@igalia.com, x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20260711-futex-robust-list-static-nodes-v1-1-723754d75cf5@gmail.com> References: <20260711-futex-robust-list-static-nodes-v1-1-723754d75cf5@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <178457433467.2943223.3723023080449029070.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable The following commit has been merged into the locking/futex branch of tip: Commit-ID: d1c656df36d00aad9c810e563f918dbbaf41a7b9 Gitweb: https://git.kernel.org/tip/d1c656df36d00aad9c810e563f918dbba= f41a7b9 Author: Miles Krause AuthorDate: Sat, 11 Jul 2026 22:47:12 -04:00 Committer: Thomas Gleixner CommitterDate: Mon, 20 Jul 2026 21:03:19 +02:00 selftests/futex: Give circular-list nodes static storage The registered robust-list head has static storage but points at three automatic lock nodes. GCC warns about storing the address of a local variable in the static head when building the selftest with -Wall. Give the nodes static storage as well. This keeps every object in the circular list alive through child exit without changing the list topology. Signed-off-by: Miles Krause Signed-off-by: Thomas Gleixner Reviewed-by: Andr=C3=A9 Almeida Link: https://patch.msgid.link/20260711-futex-robust-list-static-nodes-v1-1= -723754d75cf5@gmail.com --- tools/testing/selftests/futex/functional/robust_list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/futex/functional/robust_list.c b/tools= /testing/selftests/futex/functional/robust_list.c index 3f713bd..87217c5 100644 --- a/tools/testing/selftests/futex/functional/robust_list.c +++ b/tools/testing/selftests/futex/functional/robust_list.c @@ -536,8 +536,8 @@ static int child_circular_list(void *arg) { struct child_args *cargs =3D arg; struct __test_metadata *_metadata =3D cargs->_metadata; + static struct lock_struct a, b, c; struct robust_list_head head; - struct lock_struct a, b, c; int ret; =20 free(cargs);