[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[dm-devel] Re: [PATCH] fix rmmod oops



Mike,

On Mon, Nov 24, 2003 at 04:23:05PM -0800, Mike Christie wrote:
> The attached patch (rmmod_daemon.patch) fixes this by replacing the
> semaphores with completions, and uses complete_and_exit() to make
> sure the daemon thread is completely broken down before exiting the 
> module (complete() passes 1 for the sync variable to __wake_up_common() 
> where up() passes zero).

Thanks, I didn't know about completions, they look useful.

- Joe



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]