Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp2818805rdb; Mon, 12 Feb 2024 19:17:24 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUjNDJ+tHko9eY71PFCGxX87n3RWxdavlaxuWAjJL69h2CItk75O5FB55T8h/AuN6zT31GRJeGH6uy5DhMZX68FOupj+X+e+I0DKHEjzA== X-Google-Smtp-Source: AGHT+IF3J8PV2l/yckUI+KVG93pCe0SdvYcDgeaKC+n2rZqMm7kXVHK45VnCZJs93cwRGenG3xAQ X-Received: by 2002:a17:903:1107:b0:1d9:e18b:d916 with SMTP id n7-20020a170903110700b001d9e18bd916mr12656045plh.28.1707794244279; Mon, 12 Feb 2024 19:17:24 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707794244; cv=pass; d=google.com; s=arc-20160816; b=H/5qMchsOoD6gPWtsaBthvKfBw1tR6hpSkry7Fu6O4PMaoHI8DYOj7NEYQjyk+j8wB O4hQLt0sjeeWEBiNRfpPQe3eHlP8doI202IFk4Fev2F6nwLArqOImLNNZPkksLsS0onC yKzU+xhmqgFRprq5ClY4DgTIeBzLctXmPrNI4qZl8sAT/hjiOaBC/0i4F/ajBdCnnshz VqcCNQ9sZVn9RAdpmfDNf7ZzmNUFFCZImdzNOEtoPKQmnx2q477GErgLrklbDzLxbJyS Bk+w6DdN9YHbM6oJo8kFP5PtKA7EzFXFCb+KGmglLvmpHEcsQozdCpuSD+AY/2uG7I+Y H1QQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=j8JzdnskN++AwAUpZbIrZ2/Bzk43WRvT61K84t7fBEY=; fh=I7wz3q1cNuZChijfj0Ece6WxAVB9cxPP/TANXgbbtwo=; b=a73w/1ZZOcj/A6Tes4vE5AiNFzjJMTHv+HTCVLtXij9jPj5a7Dddm2YlWboqsyPyqj 7kieGRqvxLvOsCZ1sPfD914eqCVcyJS0huIypzwZf/AQf0Cw1L9NJJruKzIDfe6o/TrA 4NoSGCrBJgdSz4sqKTJKHbpn07kwWfBatkVjcXxX+8rweAvV5b2ixDl/iDUUo8WjkpxR xKDmNwiozX275NhIcPw40jD7wION/RSwkPJpiEU1LRM4hdJ7zPhkRdvE6yEnNLE6SNdA T3uCGlFWNXRJuh+dP6SQja5o+D0HGHnBJMs+/JAUTQs6QEbUHyt/4WCMZM3zp+2tl5WC iAjg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=J5BSFnse; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-62898-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-62898-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com X-Forwarded-Encrypted: i=2; AJvYcCXNG/0914b4iae/ant08W0SDKUZ2eyKsv81j/VTHu7GPhPLCq6OHwQPJ60K4wwlsv2ZEQnoiEpp7D9awKgdCXfLXQWVN2elOwoFvanWWQ== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id n9-20020a170902e54900b001d93b220500si1294101plf.97.2024.02.12.19.17.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Feb 2024 19:17:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-62898-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=J5BSFnse; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-62898-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-62898-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id E76632857DC for ; Tue, 13 Feb 2024 03:17:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4F363A923; Tue, 13 Feb 2024 03:17:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="J5BSFnse" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (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 A08C48BFC for ; Tue, 13 Feb 2024 03:17:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707794235; cv=none; b=bcAtasYKG/XxqVvHSH3T4PQlhHTpW42IiNpNcx1Ad55bu8rd+XGgaT/zQJDpjf6kC/d2cwdzcZYyZnALp1o5jAQs1lWIUUVnbTspN5YePtuydcylhpZVeZEzD+WociowqlA4xjnzvFQei5Rd3KhfajI2USQ85wFs1Rhml11tZvY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707794235; c=relaxed/simple; bh=F1m/aD6lzCMWutOEh5r7wEcTmpqLVziRfs8NPgMbPwQ=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=jXBe8Dqc9IIMYPHcCx+unCpwHNczEPFSacsgpsjySU/Gijsh6NpM1QIyRPuusX+CNd/qyINhxy1JyNJySA3ZFdRMxvkUsFXcOnP7XXbpt3zZlciGKsErd9XTiQnrKyjfYxDfKLP/97qw6Ie6FA8fe4d3htR5q+CudahSbVr7BNw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=J5BSFnse; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1707794232; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=j8JzdnskN++AwAUpZbIrZ2/Bzk43WRvT61K84t7fBEY=; b=J5BSFnse1WLzcycPcS2yScjAkYH8aeTQfLOyCw7tV54aPoX0oj/mPM1gUYg3/YFg9DCxXw wk7/AbY7IZdRq9pM7P73S+Y0bIIyTEGVcqLUhN2pNVm3nHi6wCcYFpB8jkf3PUB4ksfMVb d1UvpC0KuwSDknz2LmZgE+zMUTlyv10= Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-17-go-GN1tgMwG2tSyP-yXtLQ-1; Mon, 12 Feb 2024 22:17:08 -0500 X-MC-Unique: go-GN1tgMwG2tSyP-yXtLQ-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (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) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 2B5841C04B5A; Tue, 13 Feb 2024 03:17:08 +0000 (UTC) Received: from llong.com (unknown [10.22.33.62]) by smtp.corp.redhat.com (Postfix) with ESMTP id 98A0AAC17; Tue, 13 Feb 2024 03:17:06 +0000 (UTC) From: Waiman Long To: Peter Zijlstra , Ingo Molnar , Will Deacon , Boqun Feng , Andrew Morton Cc: linux-kernel@vger.kernel.org, George Stark , Waiman Long Subject: [PATCH 0/4] locking: Some locking code cleanups Date: Mon, 12 Feb 2024 22:16:52 -0500 Message-Id: <20240213031656.1375951-1-longman@redhat.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.1 This series contains a number of cleanup locking patches. Waiman Long (4): locking/qspinlock: Fix 'wait_early' set but not used warning locking/mutex: Clean up mutex.h locking/rwsem: Clarify that RWSEM_READER_OWNED is just a hint locking/rwsem: Make DEBUG_RWSEMS and PREEMPT_RT mutually exclusive include/linux/mutex.h | 23 +++++++++++------------ kernel/locking/qspinlock_paravirt.h | 2 +- kernel/locking/rwsem.c | 6 +++--- lib/Kconfig.debug | 4 ++-- 4 files changed, 17 insertions(+), 18 deletions(-) -- 2.39.3