OpenVZ Forum


Home » Mailing lists » Devel » [PATCH] [NFS]: Lock daemon start/stop rework.
Re: [PATCH] [NFS]: Lock daemon start/stop rework. [message #26701 is a reply to message #26665] Thu, 31 January 2008 03:33 Go to previous messageGo to previous message
Christoph Hellwig is currently offline  Christoph Hellwig
Messages: 59
Registered: April 2006
Member
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.
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: [RFC][PATCH v2 0/7] Scaling msgmni to the amount of lowmem
Next Topic: [PATCH 0/17] Finish IPv4 infrastructure namespacing
Goto Forum:
  


Current Time: Thu Oct 09 14:49:32 GMT 2025

Total time taken to generate the page: 0.12737 seconds