Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1193341rdb; Mon, 19 Feb 2024 07:11:53 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVapVl/qWvOTm9C3PeODEpyTmfimQWxYa+G67wMkATeY59+SaFKC7E+hCiDt7hiMSsG7EhzFtqkN75J3G4BYLc8J85Fj1fVlZcdyZnieg== X-Google-Smtp-Source: AGHT+IGDDdWWfm52AlsuScvyqU0tGAHUFfxOYvwt3g0F2odzQIqVcKejXe3kOYx93+Ysbck5KPdP X-Received: by 2002:a17:906:bc4f:b0:a3e:b3e6:5b71 with SMTP id s15-20020a170906bc4f00b00a3eb3e65b71mr1345980ejv.62.1708355513762; Mon, 19 Feb 2024 07:11:53 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708355513; cv=pass; d=google.com; s=arc-20160816; b=fnX8Lr9HLfxdbAfEhCAA5BmC0fSd4IJ8OlCCjeje7L/lEDaXT0A0clN+f5qARrv1YG nUeT9kH4bfdujWDCU9E/EAie5hJ2QnUpZ0GHElLfYCGGWtU4C15RW64497cXLtVs5LeC ZTqaY4/NP6H1oxRxvRoAg2zXdKE/qkXUE7+OWXy5qD/Ik1UHtFQZlxFFikjkpJm3J8YN 1t9u++14OmRBEXTXk+ZCIQbpPRdY6zEwiznusWNN5+7/P7HHqCitq7lSxYJlGwYvgRcc pd/aR/ZSL9Y3pAklFB0DRjdp5F8ToIrFYpU+VD6RI2f2G5298VM9+Y9xxRZ72MJ1BwD8 CinA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:in-reply-to:date:subject:cc:to:from:user-agent :references:dkim-signature; bh=Eh/Sbdzng4q5qXUtTGjrRzayZ45OaQkchrfF+X9GFKw=; fh=XeWVkQ057luDBtzJy2sOn4nVhcW2A+/egK4aPfIYTuM=; b=Gy0bcPnjN9j2QB6/awKlchm7OSVH9U0qsMJk3LzJhXyLykG4utcS8UghOHLI77LL8I qPG85vG3hNXafnQEfGBSqkHMXDTKiDaXWKTDhbJXYA3E76AAbmZGjR237qr5mwyYW4YK ZcUhDpYDIXlKbe/RCkxxIAc7xyaaQ2GBlV2SFV/PN2W+s5ic/F58KZRyOtdkxPXPJlRj LUXCIgsumNdRUT/JmuhJNFHuVLwj3TxlQo+af5iKIePjPzAGyO9KGPJPEIZg+3sB3OUJ YQLyrI2iP5XQz1LHMiFDHWZSqa62QtXN9sbhrpXCt8bB/vQ6sYNNzHWIZjkyT4hu2MiE NNRg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tNUr435o; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-71559-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-71559-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id i18-20020a1709064ed200b00a3e5952b304si1614569ejv.767.2024.02.19.07.11.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Feb 2024 07:11:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-71559-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tNUr435o; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-71559-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-71559-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 953121F21D3D for ; Mon, 19 Feb 2024 15:11:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 17C453C49E; Mon, 19 Feb 2024 15:09:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="tNUr435o" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 13D4A381DE; Mon, 19 Feb 2024 15:09:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708355351; cv=none; b=nJSjc8vUaCs1/NvZwHOJICarTfuYPbqCaUBRE8NBVgMqSZf2pHqNpuZc7lo7207PYpD9+x6xzPh86M/iecBjajFU0ScGU9+7crBFOgJfr0Yl9YZJRh9cY676KvXL1FqfxuOOS4lyJ+Hpb8bO5jv4wtPTbQYhOpqcUT4sS9B3raY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708355351; c=relaxed/simple; bh=vwU122EsZI7GM86mUhwhec2H/tFBMMY5n/4hGJl/DMI=; h=References:From:To:Cc:Subject:Date:In-reply-to:Message-ID: MIME-Version:Content-Type; b=O9r0DB1ivDUCl4XmWG5ClDyVrWe5a26oyypIidatTIkhzMeacJiIKkIF1h32Efiv5L27xkv9IaFoMkXLPGLqCB+DidUpSq3R8bgoiDey0LdreDU47YXKEm3QGtzWXm73eoE8tcQtBMuxDm1yie2dVWifFL1E5KZquKoxT3PHHo8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=tNUr435o; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7381FC433F1; Mon, 19 Feb 2024 15:09:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708355351; bh=vwU122EsZI7GM86mUhwhec2H/tFBMMY5n/4hGJl/DMI=; h=References:From:To:Cc:Subject:Date:In-reply-to:From; b=tNUr435oV98n7qCZUhUiFc5gOkNDElGmzVGSCL6kQJahSAaVILeMfKPKBx6qO1Ay+ 6U0+5gWfz1eJxWP3Y3VqFSm+w+r2OiznmCAvUXeTHVpqbXSomzpOEeLMBHb6hmvyOG bs5Ox9FbYFZ0/U3SSxX1Cmo4ckpilkoYFUVElQEf4mPcRZxTkGB9KJBl3ezdvvRK/K /vE/t0txeB2YiIDSZAnawS65qSMefbpmDqO045NcwXF1V0iWiuyhHUfxQuPUK/rlEo NuXBPr1TttVZxnDQjnqaEmN33iNoD+CNsfS8KV1Q79DJvMgXOxujV4CYh6OUHNI8n8 neGQg0wslmdPg== References: <20240111212424.3572189-1-willy@infradead.org> User-agent: mu4e 1.10.8; emacs 27.1 From: Chandan Babu R To: Matthew Wilcox 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 Date: Mon, 19 Feb 2024 20:36:26 +0530 In-reply-to: Message-ID: <87a5nwwkx7.fsf@debian-BULLSEYE-live-builder-AMD64> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain On Wed, Feb 14, 2024 at 10:05:10 PM +0000, Matthew Wilcox wrote: > 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? Matthew, I have updated XFS' for-next branch. The HEAD commit is now 49c379d3a72ab86aafeafebe6b43577acb1ef359 ("xfs: use kvfree for buf in xfs_ioc_getbmap"). Pleae rebase your patchset on top of for-next and either post the rebased patchset or you can send me a pull request. -- Chandan