Re: [BUG] D-states in test8

From: Andrew Morton
Date: Sun Oct 19 2003 - 18:01:41 EST


Pedro Larroy <piotr@xxxxxxxxxxxxxx> wrote:
>
> Process just started to get into D state, all subsequent ps got into D.
> The first that got into D state was mplayer.

This might help.

--- 25/sound/core/pcm_native.c~pcm_native-deadlock-fix 2003-10-19 15:58:31.000000000 -0700
+++ 25-akpm/sound/core/pcm_native.c 2003-10-19 15:58:48.000000000 -0700
@@ -1982,9 +1982,9 @@ int snd_pcm_open(struct inode *inode, st
}
}
remove_wait_queue(&pcm->open_wait, &wait);
+ up(&pcm->open_mutex);
if (err < 0)
goto __error;
- up(&pcm->open_mutex);
return err;

__error:

_

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/