[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Yg8StKzTWh+7FLuA@zeniv-ca.linux.org.uk>
Date: Fri, 18 Feb 2022 03:29:56 +0000
From: Al Viro <viro@...iv.linux.org.uk>
To: Rik van Riel <riel@...riel.com>
Cc: linux-kernel@...r.kernel.org, kernel-team@...com,
Chris Mason <clm@...com>,
"Paul E. McKenney" <paulmck@...nel.org>,
linux-fsdevel@...r.kernel.org,
Giuseppe Scrivano <gscrivan@...hat.com>
Subject: Re: [PATCH][RFC] ipc,fs: use rcu_work to free struct ipc_namespace
On Thu, Feb 17, 2022 at 03:36:20PM -0500, Rik van Riel wrote:
> The patch works, but a cleanup question for Al Viro:
>
> How do we get rid of #include "../fs/mount.h" and the raw ->mnt_ns = NULL thing
> in the cleanest way?
Hell knows... mnt_make_shortterm(mnt) with big, fat warning along the lines of
"YOU MUST HAVE AN RCU GRACE PERIOD BEFORE YOU DROP THAT REFERENCE!!!", perhaps?
Powered by blists - more mailing lists