Re: 2.6.12-rc1-mm2

Greg KH
2005-03-25T06:46:18Z

On Thu, Mar 24, 2005 at 05:00:18PM -0800, Patrick Mochel wrote:
>
> On Thu, 24 Mar 2005, Andrew Morton wrote:
>
> > Laurent Riffard <laurent.riffard@free.fr> wrote:
> > >
> > > hello,
> > >
> > > Same kinds of problem here. It depends on the removed module. I mean:
> > > "rmmod loop" or "rmmod pcspkr" works. But "rmmod snd_ens1371" or "rmmod
> > > ohci1394" hangs.
> > >
> > > Sysrq-T when rmmoding snd_ens1371 :
>
> <snip>
>
> > It looks like we're getting stuck in the wait_for_completion() in the new
> > klist_remove().
>
> D'oh! It's getting hung while waiting to remove the current node from the
> list (which it can't remove because it's being used). The patch below
> should fix it.

Thanks, I've added this to my bk trees.

greg k-h