[LAD] some updated RT programming wisdom

Jörn Nettingsmeier nettings at stackingdwarves.net
Wed Nov 18 18:16:49 CET 2020


On 11/18/20 6:04 PM, Jörn Nettingsmeier wrote:
> It may be old news for seasoned programmers, but I found this to be a 
> trove of information that goes a bit beyond of the traditional wisdom of 
> "what's safe in a jack process() thread", so I thought I'd share it here 
> (courtesy of LWN's free subscriber link feature, please check out LWN!)
> 
> https://lwn.net/SubscriberLink/837019/e323ab1009054668/
> 
> https://ogness.net/ese2020/ese2020_johnogness_rtchecklist.pdf


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...




-- 
Jörn Nettingsmeier
Tuinbouwstraat 180, 1097 ZB Amsterdam, Nederland
Tel. +49 177 7937487

Meister für Veranstaltungstechnik (Bühne/Studio), Tonmeister VDT
http://stackingdwarves.net


More information about the Linux-audio-dev mailing list