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

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

 



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



[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux