On Wed, 2006-02-15 at 14:39 -0600, Brent Busby wrote:
On Wed, 15 Feb 2006, Ross Vandegrift wrote:
On Tue, Feb 14, 2006 at 03:42:00PM -0600, Jan
Depner wrote:
>> 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.
I didn't want to say this earlier, because I realize most of the users
on this list are probably running single-user workstations, and are not
expecting their machines to perform as general purpose Unix sites on the
Internet, but...there are at least a few reasons why running an entire
desktop session from the window manager up at realtime priority would be
a really _bad_ idea.
set_rtlimits, as i understand it, doesn't run its child process with RT
scheduling, it makes it possible for its child (and grandchildren etc.)
to successfully ask for RT scheduling.
--p