Re: [PATCH] remove useless MOD_{INC,DEC}_USE_COUNT from sunrpc

From: Trond Myklebust (trond.myklebust@fys.uio.no)
Date: Sun May 04 2003 - 13:46:47 EST


>>>>> " " == Christoph Hellwig <hch@lst.de> writes:

> On Sun, May 04, 2003 at 07:37:18PM +0200, Trond Myklebust
> wrote:
>> There's another case which you appear to be ignoring:
>> rpciod_down() is interruptible and does not have to wait on the
>> rpciod() thread to complete.

> What do you thing about something like the following to wait on
> the thread in module_exit()?

I don't understand. That is still an interruptible wait, so how would
that help?

What is wrong with just assuming that the rpciod() thread might need
to run independently of the calling module for a short period of time
in order to kill/clean up the pending tasks?

Cheers,
  Trond
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed May 07 2003 - 22:00:20 EST