From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from 011.lax.mailroute.net (011.lax.mailroute.net [199.89.1.14]) (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 AE0C03DABE3 for ; Wed, 25 Feb 2026 18:33:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=199.89.1.14 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772044393; cv=none; b=ibVJzNTGZHSedlsIuuBKeSF4yF8/0xuKoCXrX1/ioP8TCwAjXEhq7C4VJEx5wJOWf8dtjX7Qvg2UyEnokmh5oZfBskDm2ek5v6V4iJmT6DQtH4t99SeuS3fCesM7w/1k0sdBEcjJU4UfLW0Ob6HxszpmHfLoI9ODVdVOizPsl0w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772044393; c=relaxed/simple; bh=BEcvjVAMZvv7BBP4lIpokWozba+elMPSibqdMEkR/tE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=YUl7YYx11AM5B3tWOS/SQmgw8U0h1igW9j+SWKrt2DVkeqiB4H+4wKUK5YqusdSUpsuafMkuEzrw46JLDxd3+JvKwtRhSQFkTU/Hr9i1/vvekf3WTfQFOtW3duVJ5mYKOAOZ1tsbD2vOOE50I3OTfM6qYiPXxkmKdqX1STr/zwM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=acm.org; spf=pass smtp.mailfrom=acm.org; dkim=pass (2048-bit key) header.d=acm.org header.i=@acm.org header.b=bllnj/06; arc=none smtp.client-ip=199.89.1.14 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=acm.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=acm.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=acm.org header.i=@acm.org header.b="bllnj/06" Received: from localhost (localhost [127.0.0.1]) by 011.lax.mailroute.net (Postfix) with ESMTP id 4fLjrc5vxpz1XM2FN; Wed, 25 Feb 2026 18:33:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=acm.org; h= content-transfer-encoding:mime-version:x-mailer:message-id:date :date:subject:subject:from:from:received:received; s=mr01; t= 1772044382; x=1774636383; bh=R+tIKRhSmF0nv35x86GAkllKDrjMSOBuCqL aklcmiv8=; b=bllnj/06xSFTQyk1d/i3FEHm8U8KnGhEhILo6j+DOhqRKdE70+D D64wePnpUJgENXVBDz7IXe6rRDaCN9oG+GTfmYWX03T4klyOhlnbsoqgd+0kbR0f s7gwbaCAs5t6KHArnIKxuh5geOgrCUt5k0FTTdS+GK4NXQR3N19J4348CZOXO+L9 pBwlsq6RwBDB2ypvRSrmVTJujLwlefgww9xSB6ulOlBzxpFIADzWNtS3WaHbm8sZ 9uzpSIp9rgEoUchziqkTWT0wCZcqU+1BQuUuJKzUf7cE/UGfCLNFNoUl1dJPG6nw tnkAqRUb/34XjoNUktXt6c66EKqUCIn5CxA== X-Virus-Scanned: by MailRoute Received: from 011.lax.mailroute.net ([127.0.0.1]) by localhost (011.lax [127.0.0.1]) (mroute_mailscanner, port 10029) with LMTP id U9q6OCAxTHKy; Wed, 25 Feb 2026 18:33:02 +0000 (UTC) Received: from bvanassche.mtv.corp.google.com (unknown [104.135.180.219]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: bvanassche@acm.org) by 011.lax.mailroute.net (Postfix) with ESMTPSA id 4fLjrW20C9z1XM6J6; Wed, 25 Feb 2026 18:32:59 +0000 (UTC) From: Bart Van Assche To: Peter Zijlstra Cc: Ingo Molnar , Will Deacon , Boqun Feng , Waiman Long , linux-kernel@vger.kernel.org, Marco Elver , Christoph Hellwig , Steven Rostedt , Nick Desaulniers , Nathan Chancellor , Kees Cook , Jann Horn , Bart Van Assche Subject: [PATCH v2 0/4] Lock context annotation fixes Date: Wed, 25 Feb 2026 10:32:40 -0800 Message-ID: <20260225183244.4035378-1-bvanassche@acm.org> X-Mailer: git-send-email 2.53.0.414.gf7e9f6c205-goog Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Peter, Some of the lock context annotations that have been introduced during the= most recent merge window were incomplete or incorrect. Hence this patch series= with fixes. Please consider this patch series for the current kernel developme= nt cycle. Thanks, Bart. Changes compared to v1: - Expanded Cc-list. Added the linux-kernel mailing list and more kernel = developers to the Cc-list. - Added Maarten's Acked-by to patch 3/4. Bart Van Assche (4): locking: Fix rwlock and spinlock lock context annotations signal: Fix the lock_task_sighand() annotation ww-mutex: Fix the ww_acquire_ctx function annotations Revert "lockdep: Annotate lockdep assertions for context analysis" include/linux/lockdep.h | 12 ++++++------ include/linux/rwlock.h | 4 ++-- include/linux/rwlock_api_smp.h | 6 ++++-- include/linux/sched/signal.h | 2 +- include/linux/spinlock.h | 3 ++- include/linux/ww_mutex.h | 4 ++-- lib/test_context-analysis.c | 6 +++--- mm/kfence/report.c | 1 + 8 files changed, 21 insertions(+), 17 deletions(-)