From nobody Tue Sep 29 11:19:36 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 46CA42765DF; Sat, 8 Aug 2026 10:44:06 +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=1786185847; cv=none; b=te3N0TmJz50YHfmAZPilRRBjaodYCKZyQbEhbNe2Pi2CkFCpjFaS3Rp7I1L4NTx60jSnq+2HRlAGZXLJFL8f/qmuEkWotA0Hl8gPr21NenFHrOt2n0YgfT1SRPWBp6Z7f6mylgfZ3xA5t10mH1hG4JehVHHd5iTLdTg0FUfnCKk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786185847; c=relaxed/simple; bh=n9/D4cSrwq6TtRr1Sm7cLVvcylCFuxcJXeQdn6m3iYI=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=TSK8UESAeJUpCl1pmNkFZN7Gk1DEjpq6LLghrHxwDSyGpb4qVr0tmbSmhVCyzmuxi7r6UTt4AOWMGvyqnmIqBO+K7JpUgnW79zYuNIQD4dZPlibZ1HXeRLG70MWIf6d9YSeF3BEMXjoryxZ8PI5bgKNQ9O6g309WAMvCUhT36Rs= 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=Wiym5881; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=Grk+/267; 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="Wiym5881"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="Grk+/267" Date: Sat, 08 Aug 2026 10:44:02 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1786185844; 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=BN2oiRFt9x1j71MexZkJ1Y+UaLKlyXnjlBcZW0bB7SM=; b=Wiym58819apiY8DKciSdkuHNJmjNZr2u2vXitsBtxweKS+RF5UdK7stK+2f9ECmdVYceo0 o3q2xQdzT02TzPmQdLdkf5T7VPwl1bqRhHH2QIfgGqrbFRarT2MUCHQU+uV1scf5Xg2LQM SOFRWy9ZO6ewIC9doZ8H6KN8maxC9jtmKAYXKrsDy6oLndEet8nbu8ixD4MxD53ngtl2y1 iFweDN9jv3bGEiW4+lrzDmoq7+DuZgDBAJG8ctOQ7zzMQseGm+dXn2B6ibxDdMJr6vnBVr h70Q8H0f/JWdnkSm8sufPdt6YLm39AfHK/Ra+JNgqxdBWRvuyHjJVcYskbnNYA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1786185844; 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=BN2oiRFt9x1j71MexZkJ1Y+UaLKlyXnjlBcZW0bB7SM=; b=Grk+/2673fLMdskJ0/ucwHbuSxO9bgl4NtLURQUiukuky5a724b8KdeYv6pISMF0O9GPRN GjtlCy5ss6GlyGAQ== From: "tip-bot2 for Peter Zijlstra" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: locking/core] futex: Tell kmemleak we're not leaking __futex_queues Cc: kernel test robot , "Peter Zijlstra (Intel)" , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20260807152353.GP687043@noisy.programming.kicks-ass.net> References: <20260807152353.GP687043@noisy.programming.kicks-ass.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <178618584267.442315.14297871757582631147.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/core branch of tip: Commit-ID: fcb8ada1287227a1392930ee52d7b6c6cab0f0b2 Gitweb: https://git.kernel.org/tip/fcb8ada1287227a1392930ee52d7b6c6c= ab0f0b2 Author: Peter Zijlstra AuthorDate: Fri, 07 Aug 2026 17:23:53 +02:00 Committer: Peter Zijlstra CommitterDate: Sat, 08 Aug 2026 12:41:59 +02:00 futex: Tell kmemleak we're not leaking __futex_queues Kmemleak doesn't know about runtime_const stuff and figures we're leaking __futex_queues. So add this little annotation to tell it all is well. Fixes: b78b0b658252 ("futex: Use runtime constants for __futex_hash() hot p= ath") Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-lkp/202608071053.6db6276e-lkp@intel.com Signed-off-by: Peter Zijlstra (Intel) Link: https://patch.msgid.link/20260807152353.GP687043@noisy.programming.ki= cks-ass.net --- kernel/futex/core.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/futex/core.c b/kernel/futex/core.c index d3fcad4..45538ac 100644 --- a/kernel/futex/core.c +++ b/kernel/futex/core.c @@ -45,6 +45,7 @@ #include #include #include +#include =20 #include =20 @@ -2028,6 +2029,7 @@ static int __init futex_init(void) order =3D get_order(size); =20 __futex_queues =3D kcalloc(nr_node_ids, sizeof(*__futex_queues), GFP_KERN= EL); + kmemleak_not_leak(__futex_queues); =20 runtime_const_init(shift, __futex_shift); runtime_const_init(mask, __futex_mask);