lkml.org 
[lkml]   [2003]   [Oct]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [BUG] D-states in test8
On Sun, Oct 19, 2003 at 06:36:10PM -0700, Andrew Morton wrote:
>> Well. The emphasis is on "might". That locking bug was on an error path
>> and it's quite possible that the deadlock is due to a different bug which
>> is still there.

On Mon, Oct 20, 2003 at 04:24:43AM +0200, Pedro Larroy wrote:
> Now seems I can't get them stuck.
> Hmm, Before I just opened twice /dev/dsp IIRC and then both processes got
> stuck in D.
> so snd_pcm_open_file must have returned < 0
> I can try to play a little with it tomorrow to see why gets into the error
> path.

O_NONBLOCK usage when snd_pcm_open_file() returns -EAGAIN (e.g.
SUBSTREAM_BUSY() is true, i.e. substream->file != NULL) is a trivial
way to get into the error path.


-- wli
-
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/

\
 
 \ /
  Last update: 2005-03-22 13:58    [W:0.045 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site