[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080131033320.GA15067@infradead.org>
Date: Thu, 31 Jan 2008 03:33:20 +0000
From: Christoph Hellwig <hch@...radead.org>
To: "Denis V. Lunev" <den@...nvz.org>
Cc: trond.myklebust@....uio.no, hch@...radead.org,
linux-kernel@...r.kernel.org, xemul@...nvz.org, devel@...nvz.org
Subject: Re: [PATCH] [NFS]: Lock daemon start/stop rework.
On Wed, Jan 30, 2008 at 02:41:34PM +0300, Denis V. Lunev wrote:
> The pid of the locking daemon can be substituted with a task struct
> without a problem. Namely, the value if filled in the context of the lockd
> thread and used in lockd_up/lockd_down.
>
> It is possible to save task struct instead and use it to kill the process.
> The safety of this operation is guaranteed by the RCU, i.e. task can't
> disappear without passing a quiscent state.
We have a patch series pending on the nfs list that does this plus a lot
more in the area.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists