On Tue, Mar 06, 2012 at 02:26:28PM +0100, Takashi Iwai wrote:
Mark Brown wrote:
On Tue, Mar 06, 2012 at 12:25:16PM +0000, Russell King - ARM Linux wrote:
whenever you need to call back into the ALSA APIs. Though of course I'm pretty sure there's a bunch of uniprocessor assumptions through the body of driver code anyway...
Not that much actually. On the contrary, because of the current design allowing concurrent accesses, many codes have been written rather in too complex and messy ways. It could have been much simplified if we didn't consider the concurrent accesses to each substream.
Right, but I'm fairly sure that at least some of the driver code is relying on uniprocessor assumptions for what it's doing - there's a bunch of things that can't happen on unipocessor that can happen on SMP (or preempting) systems.