Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp332301lql; Mon, 11 Mar 2024 04:20:24 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXcEtuIfYLywNKYo9MWxjOnVxZIjRY3ZsdUCO8t0bfBiTzxYwuZLcsld/5Br6c9idd+7nfbjMbvEw2B7cjEb3y4awDgSW4Wt2XbTpj0Lw== X-Google-Smtp-Source: AGHT+IFQYm2hU4F8d/Y0MAwnQhu669hmyXAiWWy/8TVLniUpti3BvYiDdxrvKmuh0mxSSSaZ6dgJ X-Received: by 2002:a05:620a:57d2:b0:788:5de9:d30d with SMTP id wl18-20020a05620a57d200b007885de9d30dmr7517461qkn.66.1710156024307; Mon, 11 Mar 2024 04:20:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710156024; cv=pass; d=google.com; s=arc-20160816; b=Wbs8SZNAEJA3eiaq4pPdXoyOVsmXKpTE1G9FSaAnrCRF2gt+5ILXn22SKmcnGpsnHH t9RRvwqc5PIa7doMljOKNnVElWWa6yzJ8etrL56f6NrYs8ryqQU0lY/O4cH5zVKsl5f2 sDU7lBOjNeeqLRPXhlAggna1eHLqcL48/tLCgoCUwQcMNv+gjFBeUOgFirrfbpujHESP Tg+4qH42DMNkBXTtQnIgMq6v9bjzsp0f3yGUyemxzto30UJodZCN6nfEHrmmta10P3Nz xS9MwyW1v9ommLHACNv2k149lNLbESf5wSePNYXl6QmBG1zmbiaJXz76t5GRTCLou/VR jNxQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-disposition:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:message-id:subject:cc:to:from:date:sender :dkim-signature; bh=L3bqXKmt2bYlEp5BUzVnVe4DifTTWqBP9LykjAj8e3w=; fh=19jq44JuBzJ0hyaPzlP7SGp/8EaRCIF4JGXQzzT6LlI=; b=ia6YHrH7eaYXHxEPOapjMm2eLvhzW/N1laFOZkKzVN5Mk0oxXymB2gR/uI7tmRYFup Z/jqMfrmthWyI7r6uQrMalROGYP6DzQQf64IS0F5HnkDKNM480ZgdgwakzhHQlAIzsSG f4iATXSGEo2fTGZ4xHMxZ7mVlLX6jBovnEckuWopBxs2awMpsWn7BBlVR6Zxw1F8+/5y 601DGNpVQRL+rDAl/yiXgz4L32p25/mX+EWlSG2HDazZN/XCMtLG2QL3AYmTNOoNjPdg wPeU92fQABUeiCndD7tsqn6Dw1ip9AVRaMPt93t7Y2YN+o7wUvvLpjvfbuZsUPO+iTep a/YA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=P1pK8iGZ; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-98753-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-98753-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id c5-20020a05620a134500b0078861fa2390si4221455qkl.338.2024.03.11.04.20.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Mar 2024 04:20:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-98753-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=P1pK8iGZ; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-98753-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-98753-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 0DD5E1C21084 for ; Mon, 11 Mar 2024 11:20:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 97FAC39FC3; Mon, 11 Mar 2024 11:20:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="P1pK8iGZ" Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) (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 0E2D438FA5 for ; Mon, 11 Mar 2024 11:20:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710156018; cv=none; b=g3nkq8AZ6xLhMFz+Vpp/zZ/A5jeZ3GItO8KUxGYAuK3F+S9rwzHZTO0WysLGOAyh7OnSEzXgEWuXD3cD+GTMzokBLt0bn62EgQEw6LU3oYtZ9tQ5GnGuNn2CFqFqiScujyJkde42Usp+YuIOUcZEfiOuze2HPlRi4yhjrRRXKJA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710156018; c=relaxed/simple; bh=7gR6nxk/AhMCyWhGFFMd+R2W12dLnV/8JFaUG3zDfNc=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=rmGZEdUE2iuAKEuco2ytDzzSm1ANLynlwdzzxP0PVx8+wAj1uX58f08b0sQT78HmvHnu89jimRyO6vG+J6XQkHwUjrn2QybIpz74S7Zpnp/CBinrl0DpA1+fuGAKJ4v1gJ6UnYWXTGsGQWgtNMvnVkP3F9RmvT0FaJkOHlP2ceM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=P1pK8iGZ; arc=none smtp.client-ip=209.85.128.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-412f55695d1so30566265e9.0 for ; Mon, 11 Mar 2024 04:20:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710156015; x=1710760815; darn=vger.kernel.org; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :sender:from:to:cc:subject:date:message-id:reply-to; bh=L3bqXKmt2bYlEp5BUzVnVe4DifTTWqBP9LykjAj8e3w=; b=P1pK8iGZDp6HsvhVENH1+e7t8ILLIGv1Ad5x6eQDdRV+RArWbU3rDPYQwPv2HIj7wU z+0uPFxxS8tfiNEna+e3na9E/2X+2I+VEI0WLE/On4l6gGVr7gtjXUtniZLXOqsunYXK 8xpoyuVqqeVWV2uKUIUeCviGlsB0AQ7lRn/LRIaB0EHrDDJ8aD7uG/kZZXJKQIZjQ/CO 2s55k0F+zMlya/ainx+rrxqvoS8c3zCRn9WoISMiRUIcui5QY0z9e5w3iUtDIy7zssmn xXDhS4HZBwZzJSxxzd7mFAkTtLN1SCUpIPQ7FI0UrQu8s3XQ6iVfNRTucvdafxJifYuD u1KA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710156015; x=1710760815; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=L3bqXKmt2bYlEp5BUzVnVe4DifTTWqBP9LykjAj8e3w=; b=faZVZr01z29DU7mpGIuG1ExLTUhqkdwbIA7WXHFGJx3S9LXpZ/CREgEN/xACeVEHrB huBFY/xhadGy9wc4tmU+0lIycUW9lbvzLpSZUCs+e3vA0tLKxHroOm5dr++kV/W0Z89c Inp6MkxiHbwIbq/Ba18v8h6hFpVk0NLB/pB85x9o5Ab5HdtD9YvWB8imjoqhIlfEObJZ W+aMN09VLbyGwDplLoyIWMEheBv17qFpwgTEtkNor9ycvTzo8+ewiK8TAt0lbgjoizyQ q7W9UNkQ/gQaDfOWTPBxw3aGalT2UbokkuiHYSnnTZLTCMnI8Kz7nIiq9xMC2R2W7xdX sFcw== X-Gm-Message-State: AOJu0YxHuMw9Xe3K4/ew5FsahzQCYReWKdUf4dqI5h12Novo1A9cJUut WdC8k+6cbDaXry3tvLM4WqK2Q4TYPrBl71zrK1Ax6l4Z3aJCdrxV X-Received: by 2002:a05:600c:3584:b0:412:bcc1:44cc with SMTP id p4-20020a05600c358400b00412bcc144ccmr4532399wmq.3.1710156014618; Mon, 11 Mar 2024 04:20:14 -0700 (PDT) Received: from gmail.com (1F2EF295.nat.pool.telekom.hu. [31.46.242.149]) by smtp.gmail.com with ESMTPSA id fb7-20020a05600c520700b0041328d0440csm4168100wmb.31.2024.03.11.04.20.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Mar 2024 04:20:14 -0700 (PDT) Sender: Ingo Molnar Date: Mon, 11 Mar 2024 12:20:12 +0100 From: Ingo Molnar To: Linus Torvalds Cc: linux-kernel@vger.kernel.org, Peter Zijlstra , Thomas Gleixner , Will Deacon , Waiman Long , Boqun Feng , Borislav Petkov Subject: [GIT PULL] locking changes for v6.9 Message-ID: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Linus, Please pull the latest locking/core git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git locking-core-2024-03-11 # HEAD: ce3576ebd62d99f79c1dc98824e2ef6d6ab68434 locking/rtmutex: Use try_cmpxchg_relaxed() in mark_rt_mutex_waiters() Locking changes for v6.9: - Micro-optimize local_xchg() and the rtmutex code on x86 - Fix percpu-rwsem contention tracepoints - Simplify debugging Kconfig dependencies - Update/clarify the documentation of atomic primitives - Misc cleanups Thanks, Ingo ------------------> Mark Rutland (1): locking/atomic: scripts: Clarify ordering of conditional atomics Namhyung Kim (1): locking/percpu-rwsem: Trigger contention tracepoints only if contended Uros Bizjak (2): locking/x86: Implement local_xchg() using CMPXCHG without the LOCK prefix locking/rtmutex: Use try_cmpxchg_relaxed() in mark_rt_mutex_waiters() Waiman Long (4): locking/qspinlock: Fix 'wait_early' set but not used warning locking/mutex: Simplify locking/rwsem: Clarify that RWSEM_READER_OWNED is just a hint locking/rwsem: Make DEBUG_RWSEMS and PREEMPT_RT mutually exclusive arch/x86/include/asm/local.h | 16 ++++++- include/linux/atomic/atomic-arch-fallback.h | 46 +++++++++++++++---- include/linux/atomic/atomic-instrumented.h | 68 ++++++++++++++++++++++------ include/linux/atomic/atomic-long.h | 24 ++++++++-- include/linux/mutex.h | 8 +--- kernel/locking/percpu-rwsem.c | 11 +++-- kernel/locking/qspinlock_paravirt.h | 2 +- kernel/locking/rtmutex.c | 9 ++-- kernel/locking/rwsem.c | 6 +-- lib/Kconfig.debug | 4 +- scripts/atomic/kerneldoc/add_unless | 1 + scripts/atomic/kerneldoc/cmpxchg | 1 + scripts/atomic/kerneldoc/dec_if_positive | 1 + scripts/atomic/kerneldoc/dec_unless_positive | 1 + scripts/atomic/kerneldoc/inc_not_zero | 1 + scripts/atomic/kerneldoc/inc_unless_negative | 1 + scripts/atomic/kerneldoc/try_cmpxchg | 3 +- 17 files changed, 154 insertions(+), 49 deletions(-)