I've just
joined the list and it's pretty interesting.
Can someone tell me something about the differences between the
preempt patch from Ingo and the "Realtime Linux Security Module"?
I currently use the latter one and I'm quite satisfied as jack works
really fast. Perhaps one should try this way instead of the vanilla
kernel patch. There have to be pros and cons I'm interested in. Can
someone point them out?
The LSM and Ingo's patches are addressing 2 separate issues. Ingo's
patch is working to minimize sources of latency in various code paths in
the kernel. The rtlimits and the realtime-lsm are addressing the issue
of providing a security model for realtime applications to get the
capabilities they need to run in real-time. Ordinarilly these
capabilities (CAP_SET_PCAP, mlockall(), and SCHED_FIFO()) are only
accessible as root. rtlimits and the realtime-lsm provide infrastructure
for allowing these capabilities to be granted to only a specified set of
users/processes.
So am I correct in believing that the preempt patch is the one that
makes a difference if I intend to run as root anyway? ( Yeah I know I'm
not supposed to, but IMO my machine is just a synthesizer in disguise as
a computer and I'll unplug the ethernet cable if I need to. )
Thanks
Iain