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

From: Lee Revell
Date: Mon Aug 16 2004 - 05:55:34 EST


On Mon, 2004-08-16 at 06:48, Ingo Molnar wrote:
> * Lee Revell <rlrevell@xxxxxxxxxxx> wrote:
>
> > > No, this is not. It should be a real XRUN, I believe.
> >
> > This one has still defied explanation. The working theory was that it
> > was the same bug causing an xrun if an unrelated process called
> > mlockall, but now that bug has been fixed, and this xrun at startup
> > still happens.
>
> does the first xrun happen right during startup, or only when the first
> jack application uses jackd to do audio?
>

It happens when the jackd server starts up, before any clients connect.

> 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,
but I will have to test some more and look at the source tomorrow, it's
getting late.

Lee


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