[linux-audio-user] 2.6.15.4, realtime-lsm, jackd -R,

Ross Vandegrift ross at lug.udel.edu
Mon Feb 13 21:04:33 EST 2006


On Sun, Feb 12, 2006 at 08:52:30PM -0500, Lee Revell wrote:
> No, it's not that bad, but IMHO it's more of a pain than the realtime
> LSM, or the PAM solution.

Does a process inherit its parent's RT rlimits?  I would expect them
to work that way.  If so, it should be enough to run your display or
window manager under set_rlimits.  Then, any app you started in that X
session would automatically inherit the ability to request RT
scheduling and mlock pages.

Also removes the issue of overly fine-grained control.  Anytime a user
with permission logged in, any app they ran will automatically work.

Of course, if rlimits are process specific and not inherited, then its
moot.  I thought about testing this last night, but went to sleep instead,
heh.

-- 
Ross Vandegrift
ross at lug.udel.edu

"The good Christian should beware of mathematicians, and all those who
make empty prophecies. The danger already exists that the mathematicians
have made a covenant with the devil to darken the spirit and to confine
man in the bonds of Hell."
	--St. Augustine, De Genesi ad Litteram, Book II, xviii, 37


More information about the linux-audio-user mailing list