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 2A1C7354ACC 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=1765891601; cv=none; b=FnliS6qKkVwW/XpS4mjG6WkwGLSEN0cRXRDrk8WPMbcXhB3F6EwXJfsFQ/PRZcqzI6pXyOFivzmszMebrlFWeWuiwjwqCubHK101KjuW8L6MqSW6u2osS7V1xYpS4WVRLqC8VxHBcK3IHr6xVC5gEuOxZEnJcj4i8RazEZHtfCc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765891601; 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=fB19PfZElyXQQihGLPd7tZ6Uh0iYXkSRg2imYOIK3jOi1a+17qGPDKXmAhems2Dk6pEGmGh+d6PsIxRXXtbmG/P0iixKT7DkzvDEafc/Dx7enFZtjBuP7Qzg/GjBZp1yhz1/i/N/Bs7Tf3TCG4ds0rVtNmAgpzDKkJpTStl32No= 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=eov207vj; 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="eov207vj" Received: by mail-ed1-f45.google.com with SMTP id 4fb4d7f45d1cf-647a3bca834so6943877a12.2 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=lists.linux.dev; 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=eov207vj9ShPbENsAjiYWEcXXWGw1WeKfMTmbIhCXqSKfBfaLWD6Fk5NhtW3c4x7c7 eRDgILTUGPNh65mwBXkAqDn78vCySqHh2ezQHhMc6hC+zGkmJiR+wfiUbdr26N8kwsE4 0INJ5T6VrYj7oxZCgiqMgFC1qEcZGWP01SfH9iUZmdzs8vUB/Xu9kB6bZ1TdFhnbsCwZ ReEKelyBG5zBURBD+zmPiCfJyGGPnIG+65AybgMgcG6oBcT0XjkeW803EeT7iRcQo6Ey P+XwMmxRSh5r48i6KN28tPgA1BmSz3EYtwjp/7E0PYojSoedgDAkKBxsTkiS8cu1kLbW KXVw== 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=hNTieQq4lBVZ5KQVvVa7OIZYkn9xXsg4imUlf/W/BH1ZCB2vFRVXkGR+W5ZP7nQS+6 GlYFTTZRw4HInQYSAZs6dNEp7lHa7Y2Lidj11qEmQdc9GQkbPPAyY3Xw5Pf/ni5tCaDq uUKID4UGaPpIyCc8JNp0s22vVbzqpn8/EN9GZNpxSjeXGXyeMXN09blJiWDMJfrpotLY 4KwdGXN4Adj3C14Sg55gPOaqBGYCZ1PBM0zhZMNTWOtNfPg+vh4tg68bbl4iJfSIH1qN Z/Pfx7wiZQ+0f2b71B7mc5W+HooqE8irenHNC9Ex3miPpmviuTJF5cyG0IOV6MRPJ3bT dykg== X-Forwarded-Encrypted: i=1; AJvYcCV5xEQALaslQF2e/4tdhNjk+osBE45g/APIqKxsjWY1sD9Wos7FYEl8CQuHdaPpCgWN17Ig@lists.linux.dev X-Gm-Message-State: AOJu0Yx2v/XzCl1MinwMs0Srte3OCKLLxvNs5kVTuM9uzMPpiuugIilP qvvkU13wohBlH5gIb5UzjjH5w+N/6aQ4w5J/45Brm2NO+FmACcJ4Ly8dgvG6c9LH/w== X-Gm-Gg: AY/fxX7rQBkclQtBwNHGxa9B8+hjXrWezdQefBRgB/EraJm40Qb5xPpPgaaWCSf4xkJ YCgvjwmcD40bzenRP18tp9tbz5ukv4PLjuJOkkcXa/CFOlvQ9y/m9fiRt7RpciHNjVaSceSGo5e VL4tGRTr4iyAF8nlEP5odv5FgHJtwioOw6SNHOXAUlgcYWcaAoyg/wg4PwgrdozSuE/saQNEEnW /I/fS8C6MdZz8TU6DPxnDV/7nL6HGejsqZwHtLDFv9ve2W3bKAHq7o7G6WxpC/LTvqVD6O3HBPc aYzyfqoiZ+C4cTdLCmnpunbpw5c9ZyIiWCXypP5DhpyiZFmVMt2tCHAYGdYBZZN1NAKRWziIeWc mqc3XDqRAB95BUzM2+8onwVnYRJ1gBc+zkqSxsYJwMtzbnM1l+cwPd6UWCocPFDaxAzPkE9mxPk IOi4nabzU/aUcnDYqZgWPW8MbP9GosHgqy7vlpWJDFXEU9w1Ez 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: llvm@lists.linux.dev 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.