Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp194607rdb; Wed, 14 Feb 2024 18:15:15 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUhNu6FeHsMQCHF+opDWRvH95l3CPNxbwQuSpl3d5xH13XaIM2O8VbTlBE7ELC/9HAKfi/cNrbu0Zw++D89z9KDIN5S9QfcbvPptoMb4g== X-Google-Smtp-Source: AGHT+IGi++8j5XLwQ0MvBecYjUHbnOjbZ4xifZQS5P9VTlbZ48+xHvllkFTziNHBwOxpGgeDDldY X-Received: by 2002:a05:6a20:94cd:b0:19e:5d4d:79b with SMTP id ht13-20020a056a2094cd00b0019e5d4d079bmr932523pzb.1.1707963314881; Wed, 14 Feb 2024 18:15:14 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707963314; cv=pass; d=google.com; s=arc-20160816; b=fFH+xA8ISPrMHyKKKmQr7fSn9m2qRv0d/CuziSnw/giDCkwKM/ycVylZhROabapzcg z2GNZODuxeewmMErOqyyyT5curNjbo1BvA1ek4F7mV8X7XwRaDyiHMfJNx0j9KSmxpZt b9n819A5EzoUvcRr5wg0wPDjVdIG26hNqxgtfZgJfCKQM5K8OPXwOuyEDfHmrx5R4AxS /7GAWBrXSFwvxTUx1LpY2MMFPNhFmfTMgAnbIJjD6Q9+L/Ys+qBsOTOWvcVnORaGUZXS IgOxxp/qo17TVNdMz8Ctby8dq2e3xB4St3J8QuLvputuqKvDa0emf3Jza9oovThTDKQw 6rVQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=qAKUDeW0LEVwbb4w3hOa+dlzg/8g1ktkJMoQSH9sovg=; fh=a/v+ALQgZav2NbZBigW32G1hJEAk0U/vujpunQf9pPk=; b=F2cek/mHFVR7nHFnhTlKE+nn0bsGQNVpR3vqxi+Je6s++q3dsoCKLIBgeFzaK6aMVW fglO4Rc/QZrPLF/9ja5YSfp8Fl4RvwVV1/dOo9dTS3qKL1ls2DSXuYdfoyji2+o4smGD 7flXlG3FCUpZRpc8qLkU7oMqr3velMlb1l7NrvRhYjDVkj2JMkwiO2e4yU8opf21GyQh qUqn+MjJYXxTPiG0vxv+Pl9bembguLTy3E057CcnCd62r2prRzQDkd4M8KxQPJKhI8y6 Ql58AeMDPvVBPXUUtCbgW+7FLFsuckflAMg4BU8TEs+w3V+4lvL8xkNRDEaEzr+5eyiv 9Ryw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=dSKwAtTO; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-66024-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-66024-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id rs14-20020a17090b2b8e00b00296fa314bc5si316815pjb.157.2024.02.14.18.15.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Feb 2024 18:15:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-66024-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=dSKwAtTO; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-66024-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-66024-linux.lists.archive=gmail.com@vger.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id B18F928E1DF for ; Wed, 14 Feb 2024 22:05:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E1B4D1419A2; Wed, 14 Feb 2024 22:05:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="dSKwAtTO" Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) (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 B13D614198B; Wed, 14 Feb 2024 22:05:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=90.155.50.34 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707948317; cv=none; b=m5c+b39zk+xQPfD3ws3Cb88fhgwKiCDQV8hTqCeJ28jZmO1VUcCIJ9t9r3+lFAOlCHwSho1z/gxnIaeVtICOFM/dFJM+HcNhbxqbrf+Zolzj7ZJvjSKCNX5BSnU9806ElRuf/znBdqVkjrHAWJlysgwmbMUTqIVpnoiAru42uCU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707948317; c=relaxed/simple; bh=ZIl3wONdo0qB2PDX1x0SKAlCCbObW5oOqEZc1e26ByA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ZzSDZqRifHahQQoFON1X/LQh6Py+Ij8+1ynYRWL7XYNy87xkbkQ7KatSZjxwGMdpr/g6Pp8oTMhtKcsQVQA7rA749StvFVq18vj9pQia8tGzZA4bRTLTp5JfDwsisGbHJwFXnK4VN4S94zJSq7ABc8R0ImjqLqzmAnIMGXCeTis= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=dSKwAtTO; arc=none smtp.client-ip=90.155.50.34 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=qAKUDeW0LEVwbb4w3hOa+dlzg/8g1ktkJMoQSH9sovg=; b=dSKwAtTOV8p3D4tf9hr/kB/Hbm jhAg5W6UaCWEZHOOJcYwrRKHTYKMvJONuGNW+xG13My2ITjdnLc7eSg/sIVUYaH9R3QIWjXsIIbFl sXyWXfoGUIFwHHTMIgGcEY6GX1wWYeHZhOQyDG9Cgv+JECrFssEY0kq/atS39lbNb3F9Zp4Md3350 rYlZC6xiN6YIMLjXK7BWoJNAQPJZJHwFrezKMdQ/W7IDH4q4CCmXb9ohgPypU041KMPF9zP5dIfjF a9HJa1T1Cp5ZbTwfzTRT6X0MZibTKhWFmMLqwp4lO6lE6fH/54EFNlW6H3B8RzEvsdf3y4HSEjL1A 18yqPfog==; Received: from willy by casper.infradead.org with local (Exim 4.97.1 #2 (Red Hat Linux)) id 1raNNP-000000007cK-01wF; Wed, 14 Feb 2024 22:05:11 +0000 Date: Wed, 14 Feb 2024 22:05:10 +0000 From: Matthew Wilcox To: Chandan Babu R Cc: linux-kernel@vger.kernel.org, linux-xfs@vger.kernel.org, "Darrick J . Wong" , Mateusz Guzik , Peter Zijlstra , Ingo Molnar , Will Deacon , Waiman Long Subject: Re: [PATCH v5 0/3] Remove the XFS mrlock Message-ID: References: <20240111212424.3572189-1-willy@infradead.org> 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 In-Reply-To: <20240111212424.3572189-1-willy@infradead.org> On Thu, Jan 11, 2024 at 09:24:21PM +0000, Matthew Wilcox (Oracle) wrote: > XFS has an mrlock wrapper around the rwsem which adds only the > functionality of knowing whether the rwsem is currently held in read > or write mode. Both regular rwsems and rt-rwsems know this, they just > don't expose it as an API. By adding that, we can remove the XFS mrlock > as well as improving the debug assertions for the mmap_lock when lockdep > is disabled. > > I have an ack on the first patch from Peter, so I would like to see this > merged through the XFS tree since most of what it touches is XFS. What needs to happen to get these picked up to not miss the next merge window?