lkml.org 
[lkml]   [1999]   [Jun]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [alsa-devel] Re: [patch] `cp /dev/zero /tmp' (patch against 2.2.9)
Date
From
> really loooong time.  Audio I/O can hold the kernel lock for a really
> long time too, BTW -- write can block indefinitely with a really
> huge buffer.

No. When you block the kernel lock is dropped.

> make the audio path bypass the lock. Since this is a part of making
> the kernel lock less pervasive, it might be worthwhile to do this,
> even if it's ugly.

One day in the future the audio layer has to run without the kernel lock.
However by then its likely to be ALSA. Getting the SMP locking right will
be fun, I dont think its worth repeating the effort for dead code (ie OSS),
nor will it help you anyway as your lock understanding isnt quite right


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

\
 
 \ /
  Last update: 2005-03-22 13:52    [W:0.143 / U:0.440 seconds]
©2003-2011 Jasper Spaans. Advertise on this site