LKML Archive on
help / color / mirror / Atom feed
From: Pavel Emelyanov <>
To: Christoph Hellwig <>,
Subject: Re: [PATCH] [NFS]: Lock daemon start/stop rework.
Date: Tue, 11 Mar 2008 16:46:03 +0300	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

Christoph Hellwig wrote:
> 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.

Sorry for bringing it up that late, but I haven't found any patches doing
the same for nfs/callback.c. What are the plans about this code? Can we 
start turning this to kthreads? Or is there some grand rework pending in 
this code, so that we will just duplicate someone's work or cause unneeded 
patches conflicts?

You see, this code is the last user of kill_proc(), which in turn is the
last user of find_pid() which (in turn) is about to be removed.


      parent reply	other threads:[~2008-03-11 13:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-30 11:41 Denis V. Lunev
2008-01-31  3:33 ` Christoph Hellwig
2008-01-31  7:48   ` Denis V. Lunev
2008-02-06  4:13     ` Christoph Hellwig
2008-03-11 13:46   ` Pavel Emelyanov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \
    --subject='Re: [PATCH] [NFS]: Lock daemon start/stop rework.' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).