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

Trond Myklebust
2003-05-04T18:34:24Z

>>>>> " " == 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