From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ed1-f53.google.com (mail-ed1-f53.google.com [209.85.208.53]) (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 4FC5035503A for ; Tue, 16 Dec 2025 13:26:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.53 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765891601; cv=none; b=fm+VM2opiSP//jXkKroVKscKgKIuJjP02wRwcVeNOlVxfDXnnDQhVZDAXd8qtmX9kY0ePOb2la+RERCht6fhXYlwO11nSc4b1w3WmVpdK8Ls4RSPHx//9NyGbIEhXAGB/YwvGvupyPZoqn/jcCGCaYc/sdSXlndEQ+kcBc2sgcE= 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=buYJu0gC; arc=none smtp.client-ip=209.85.208.53 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-f53.google.com with SMTP id 4fb4d7f45d1cf-640c1fda178so9194517a12.1 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=smpA12/qTmM+qPMQm8PFyHzvwc4nJvTWBpFoQAJ3mgJ+t0tZlprR7QAyScwrjFj8yy YnQayX4uENYMdRUd8tU8RoGlqeb9uxzUjoINF/yPMfU9eX0TGbn0V6XugC42b9sqGiVG bHlNcjBqROAO+Z+KAFpPm6LKP0/p97vH03T24NwSUKpmzcdvE7jQGwF20MWUvaj6hiYy EChIuc+f1FicBDr6iLNjeE1g+h4qD8rlA3Wshvq0UR/qJllDva3hPPeTswt6CAIOo7KG jdMkz46zS6NsJ92OnwTVXznQaJ2mdxd9LqwQjYSRny+LDS+iTZt3iVqKolZVaLzLGXz9 +V/A== X-Forwarded-Encrypted: i=1; AJvYcCXoTkHVXNX05tHnzolPEL0wdjWLmikmA4oQZAjeO2q42YwvubLkYMCQ6n8BZ9J5QJKeT9CHfcfNv5g=@vger.kernel.org X-Gm-Message-State: AOJu0YwY8K89j0k+cSnTRSu6JHCEP9q3guC1dRW5gT/pw36E8o8mOmHk jBJ/9wmLBl7zWshLeDS/XvCoffJfmoTWTPt0A7lTfv6jUux5QfrZ4EmpE0HXnZ2u/Q== X-Gm-Gg: AY/fxX4F9N+3zoWyNU7dxrokBxFcdNGm0xOpxRpb/ML7wv6T4tEaXdzJO+pIq1UOTi9 vUvWlRSubMn7IvAL4ddt1Zfl1oRnMTUDGLh9yXyiEsSZL6cl0Rx0ugP1eYHmX1mOFMPrDNv+CGn a7wPonRpJcvdAdwJ2Mzex3kCU6kXZCNUFrkL9PlUcZzANP7qJlA4WFSmu5FZMffTbShVl7SYnF1 pMU5ufnnGgyCNPPkpxdbF1JdA4p6QNckx4HM6uPoYVmemcVN771SFT8WPK0hb+xbg1uE65JD402 BGcMeG9ZSF96TEXCBnKK/qprDnrrdttC2QjkVw4jT7/tGlNLu9fqm3tZNw5NCvciYQnwZUTJNm3 fQzwrFWnquIYE6BaH97K+HuDQrDgcVhaeyrox4Ysfpz8IY/gVCe0gFP2imJGoZnKGK9HbBy86yZ GCS1VPOftHUAz6Pv1mdAF7Wvi78vb4BTIYLrWKYRzakG2I9l8x 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-doc@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.