Messages in this thread | | | Date | Tue, 16 Nov 2004 14:16:41 +0100 | From | Ingo Molnar <> | Subject | [patch] Real-Time Preemption, -RT-2.6.10-rc2-mm1-V0.7.27-2 |
| |
* Ingo Molnar <mingo@elte.hu> wrote:
> > Already testing with RT-0.7.26-5 now. No good. Same lockup behavior on > > alsa shutdown, altought not always, but very frequently. Nothing comes > > out via serial console. Not even SysRq is of any help, pretty hard > > these lockups are. > > i'm rebasing to -rc2-mm1 currently, it should be completed today and > we'll see whether those ALSA problems are upstream related. > > is it stable if you dont unload the ALSA modules?
i just found a potential problem that could cause a near-lockup during module removal. This code in __module_put_and_exit() could loop for quite long time:
while (current->lock_depth != -1) unlock_kernel();
since for specifically ALSA's no-BKL purpose i've introduced the notion of ->lock_depth going below -1. So if we happen to put the module while ->lock_depth is -2, it could take quite some time for it to go down to zero again ... (and it could cause other problems as well)
i fixed this in the -V0.7.27-2 release, freshly uploaded to the usual place:
http://redhat.com/~mingo/realtime-preempt/
do you still see lockups with this patch?
Ingo - 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/
| |