Re: [patch] voluntary-preempt-2.6.8-rc2-M5

Lee Revell
2004-08-16T11:07:19Z

On Mon, 2004-08-16 at 06:52, Lee Revell wrote:
> On Mon, 2004-08-16 at 06:48, Ingo Molnar wrote:
> if the former then does jackd set itself up (does an mlockall, etc.)
> > before it opens the audio device? If the audio device has an event for
> > jackd the moment the device is opened, and jackd opens the audio device
> > early during startup, then jackd might not be able to process this event
> > until it has started up (which can take milliseconds).
>
> This is probably what is happening, the kernel-side issue seems fixed,

It looks like this is what happens - jackd calls snd_pcm_start, then
does several other thinks like malloc'ing memory for the array of fd's
to poll() before entering the polling loop, by which time there has been
data ready for a while. This may or may not be worth fixing, I am
adding jackit-devel to the cc: list.

Lee