[LAD] some updated RT programming wisdom

Fons Adriaensen fons at linuxaudio.org
Wed Nov 18 19:23:23 CET 2020


On Wed, Nov 18, 2020 at 06:16:49PM +0100, Jörn Nettingsmeier wrote:

> And I have a question: since nobody seems to pre-fault their stacks and
> heaps: is that the reason for xruns when adding new clients to the JACK
> graph? We all know not to malloc() in the process thread, but of course we
> may be using malloc'ed memory for the first time...

That could well be so. But AFAIK, at least Jack1 may skip some cycles 
while initialising a client or a creating ports, even if the client
behaves perfectly. Not sure about Jack2.

Ciao,

-- 
FA





More information about the Linux-audio-dev mailing list