From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ed1-f45.google.com (mail-ed1-f45.google.com [209.85.208.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2A13F350A17 for ; Tue, 16 Dec 2025 13:26:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765891603; cv=none; b=nIHtcmfdb0Os1a9YbhZ6GjWJhaDHzwMAEoWf5K1nLzE9dLe5yFnwQEv4NKHl3wZzW1bRycauLNo7G4RMVB4PEA+3sa1Ql7xesaOXluUTA61iUk5KArRTy2Jx9YvpxTthzZkZMgU+6cdxW58VUEL/F6ehArZJKJVWhhwnJQBWGNA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765891603; c=relaxed/simple; bh=XzSmUQ9wBuoAsnnswWznp0kvFEGZQ0Tj3+vUePVVnwM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=sfR9ZI4weDA1ilgisXztqU7ljO6KJzORSWr5sEcSwYRvrewbhecISFykfXEe99l1BwNzVy9ns75wKtuHc0NZglG3EBUxFcQ9Iruof34JT3atYWsYAPhgNHOUh1EMPk2VzYnExc84bNhHOBEBCfLV00vDLveTq+9ty63Jc+cyABk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=buYJu0gC; arc=none smtp.client-ip=209.85.208.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="buYJu0gC" Received: by mail-ed1-f45.google.com with SMTP id 4fb4d7f45d1cf-6495e5265c9so6971894a12.0 for ; Tue, 16 Dec 2025 05:26:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1765891597; x=1766496397; darn=vger.kernel.org; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=3V/ozmG0P6zbhJMhekfGn6dV/6uy4a54Tyfq8of8mrw=; b=buYJu0gC4OU4CKzN0mxTwWWLvQ4CNFOE6E5ISWagDJYeSPRRTZEJblsZjS10eKAI9o pQdfa6WhBntvFfS1/XfQ9/yKOraEw6DxVQO1uzuOL+URVzk+f/q/8DnJktaiNSd7DBJi tnvbE/8vjuq16rtJWuUvHoaCMvXhFVVpMb5RvybkAgLEXB0x4AmWNOt7wO8kDRH24QY6 cvXAamGreZz8arkujIiH+dEPwH4lss3HYi/D/FkrIOKheflpobF84oPK+vMLJ5LcyDpB VceNZB1hflgT0S3PNCJ/TA87AIeCNjz1cBLeBQM6/Y56AMmE5BbW75KkDYJQlrauWTp6 g5oQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765891597; x=1766496397; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=3V/ozmG0P6zbhJMhekfGn6dV/6uy4a54Tyfq8of8mrw=; b=WVPCo1DZz/2pQ0awWBHLadMyRItZGrue3O2wVqSeW0ld23/sV7Hx6wDnMrbMq8Yp/G ueacnuA7KJiC6D3qiS6iF9bk+GkwBpHoTfFDtxjRDHW2PgpP1IrGg0K9Dvep1XjRQqHb 3uWgJDwAOExXWg0OiJvdFvP86HU2zVDDA1pzjNTG0TjJI/ubI1pnvCnUyMkMLTfZGtQ4 3D6uE5mFjoY5RyH/r8SgBV7dd8jvzjT0q7nXB9SeCXfvia1AnkyCUUTcAev+vrDYfOk7 UwTZmcHDIAmtDqdOhe51hDAc4rTvW2AghV4ILPaHb6Y6j2lyil+SZZU6mMl0oyTUHczQ FGfA== X-Forwarded-Encrypted: i=1; AJvYcCUfjO7kQUnBfRc8gLOLomR7fYtB1Fcl1T2KCVRUB2cn2f9usYG9lfoCvXFQtZGaQJzCqLdqTrCG6e2kBhA=@vger.kernel.org X-Gm-Message-State: AOJu0YxXX5qiicof8BO1kTakVWjZzRAmhf4o/NvyHY+dTVnXznYf/Iu4 T1R4bpD+le/dxA2trHSYTPFSrqhvS5tRlVRdlvcneLXXm6fgHU+m6Q6dmwYxx7Uxsw== X-Gm-Gg: AY/fxX5iygtle9y3jEziRKGknFgdSkYoLugRGQMlQtE7bluxAmg8g/yY8LjcWUih9G/ CRYMbacz+AoHV+x+UAfapqPODoGhuo+XVhuMGRreo2sMUehgNm0II8HrZb/19yjwKFdrSXsQXd3 gVv1GsTT70bZrwqoxKj1aT36/UBehIFTcTxs7tPCwVn0BcM6kcIUAKQWPCpwMSg+D8kgHLDUxvj sUsUNTUsHaMeIqG/nYJTrszF+zz4S2sCfAk0QSoRmdOsx859Nx1BS4NnbuXB9ApOIiH7tyhUeUe GdN2Sewm36eS/2bGkW2rahPgagEgy69cSzZ/zJKFPZbLgtA7dCb6l3wN/SsWTe1VEKM55V/No96 v91AQcFaJ3Njdq8ZzGF1j6Y5G6qftV+cojTZC3soy12IQtcCGerT7M9xzAJ2W9TOGdwas4xfXgS lt0vjGoImu9/P4qGApWQ2SiHuNWYV6n6aeNsFQCWJewZ/P74GS X-Google-Smtp-Source: AGHT+IEXN8c4l2W138SpFxaraGM3jOuuGwcwQYafzXlaDOwN/Hd+sEz4uwdMcyiAnZ9D77N2tR3XDg== X-Received: by 2002:a17:907:72c7:b0:b6d:9bab:a7ba with SMTP id a640c23a62f3a-b7d23a97591mr1453601666b.42.1765891597176; Tue, 16 Dec 2025 05:26:37 -0800 (PST) Received: from elver.google.com ([2a00:79e0:2834:9:ea4c:b2a8:24a4:9ce9]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-b7cfa5d0b0dsm1693444566b.67.2025.12.16.05.26.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Dec 2025 05:26:36 -0800 (PST) Date: Tue, 16 Dec 2025 14:26:28 +0100 From: Marco Elver To: Peter Zijlstra Cc: Boqun Feng , Ingo Molnar , Will Deacon , "David S. Miller" , Luc Van Oostenryck , Chris Li , "Paul E. McKenney" , Alexander Potapenko , Arnd Bergmann , Bart Van Assche , Christoph Hellwig , Dmitry Vyukov , Eric Dumazet , Frederic Weisbecker , Greg Kroah-Hartman , Herbert Xu , Ian Rogers , Jann Horn , Joel Fernandes , Johannes Berg , Jonathan Corbet , Josh Triplett , Justin Stitt , Kees Cook , Kentaro Takeda , Lukas Bulwahn , Mark Rutland , Mathieu Desnoyers , Miguel Ojeda , Nathan Chancellor , Neeraj Upadhyay , Nick Desaulniers , Steven Rostedt , Tetsuo Handa , Thomas Gleixner , Thomas Graf , Uladzislau Rezki , Waiman Long , kasan-dev@googlegroups.com, linux-crypto@vger.kernel.org, linux-doc@vger.kernel.org, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-security-module@vger.kernel.org, linux-sparse@vger.kernel.org, linux-wireless@vger.kernel.org, llvm@lists.linux.dev, rcu@vger.kernel.org Subject: Re: [PATCH v4 06/35] cleanup: Basic compatibility with context analysis Message-ID: References: <20251120145835.3833031-2-elver@google.com> <20251120151033.3840508-7-elver@google.com> <20251211121659.GH3911114@noisy.programming.kicks-ass.net> <20251212094352.GL3911114@noisy.programming.kicks-ass.net> <20251212110928.GP3911114@noisy.programming.kicks-ass.net> <20251216122359.GS3707837@noisy.programming.kicks-ass.net> Precedence: bulk X-Mailing-List: linux-sparse@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20251216122359.GS3707837@noisy.programming.kicks-ass.net> User-Agent: Mutt/2.2.13 (2024-03-09) On Tue, Dec 16, 2025 at 01:23PM +0100, Peter Zijlstra wrote: > On Mon, Dec 15, 2025 at 04:53:18PM +0100, Marco Elver wrote: > > One observation from the rebase: Generally synchronization primitives > > do not change much and the annotations are relatively stable, but e.g. > > RCU & sched (latter is optional and depends on the sched-enablement > > patch) receive disproportionally more changes, and while new > > annotations required for v6.19-rc1 were trivial, it does require > > compiling with a Clang version that does produce the warnings to > > notice. > > I have: > > Debian clang version 22.0.0 (++20251023025710+3f47a7be1ae6-1~exp5) > > I've not tried if that is new enough. That's new enough - it's after https://github.com/llvm/llvm-project/commit/7ccb5c08f0685d4787f12c3224a72f0650c5865e which is the minimum required version. > > While Clang 22-dev is being tested on CI, I doubt maintainers already > > use it, so it's possible we'll see some late warnings due to missing > > annotations when things hit -next. This might be an acceptable churn > > cost, if we think the outcome is worthwhile. Things should get better > > when Clang 22 is released properly, but until then things might be a > > little bumpy if there are large changes across the core > > synchronization primitives. > > Yeah, we'll see how bad it gets, we can always disable it for > COMPILE_TEST or so for a while.