All of lore.kernel.org
 help / color / mirror / Atom feed
* rme9652: possible deadlock
@ 2003-04-14 18:47 Jeremy Hall
  2003-04-22 14:16 ` Jaroslav Kysela
  0 siblings, 1 reply; 19+ messages in thread
From: Jeremy Hall @ 2003-04-14 18:47 UTC (permalink / raw)
  To: paul; +Cc: alsa-devel

Hi,

Consider the following:

Two RME9652's are running together and on different interrupts.

The master, in interrupt context, acquires its runtime->lock and begins 
snd_pcm_update_hw_ptr_interrupt()

At the same time, the second card, the slave, is behind, still in play 
mode, and wants to XRUN.  To do that, it must stop and restart all the 
substreams connected to it.  To do that, it must acquire the runtime lock 
of each, but the capture substream is locked in another interrupt.

solution:

Is it acceptible if XRUN occurs in a pcm_multi environment to only restart 
substreams related to that physical card? or is it necessary to restart 
the whole device to maintain sample-sync?

I'm thinking you'd need to restart all devices.  Is this reasonable? as 
in, am I reading the code correctly?

_J


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2003-04-28 19:15 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-14 18:47 rme9652: possible deadlock Jeremy Hall
2003-04-22 14:16 ` Jaroslav Kysela
2003-04-22 19:22   ` Jeremy Hall
2003-04-22 19:42     ` Jaroslav Kysela
2003-04-22 22:04       ` Jeremy Hall
2003-04-23  9:51         ` Jaroslav Kysela
2003-04-23 15:06           ` Jeremy Hall
2003-04-23 19:19             ` Jaroslav Kysela
2003-04-24 10:03               ` Abramo Bagnara
2003-04-28  8:23                 ` Jeremy Hall
2003-04-28  8:58                   ` Abramo Bagnara
2003-04-28  9:58                     ` Jaroslav Kysela
2003-04-28 10:11                       ` Abramo Bagnara
2003-04-28 12:27                         ` Jaroslav Kysela
2003-04-28 12:47                           ` Abramo Bagnara
2003-04-28 18:16                             ` Jaroslav Kysela
2003-04-28 19:15                               ` Abramo Bagnara
2003-04-28  8:25                 ` Jeremy Hall
2003-04-28  8:44               ` Jeremy Hall

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.