Will Dapper support RLIMIT_RTPRIO?

Lee Revell rlrevell at joe-job.com
Fri Feb 3 21:10:44 GMT 2006


On Fri, 2006-02-03 at 02:04 -0800, Matt Zimmerman wrote:
> On Thu, Feb 02, 2006 at 04:48:20PM -0500, Lee Revell wrote:
> > The new RLIMIT_RTPRIO was introduced in kernel 2.6.12 to selectively
> > allow non-root processes to run tasks with realtime priority.  This is
> > essential if we ever want reliable multimedia performance without
> > forcing users to run as root.
> > 
> > Supporting this new rlimit requires some changes to glibc, bash, and
> > PAM.  It was added to glibc 6 months ago:
> > 
> > http://sourceware.org/ml/libc-hacker/2005-06/msg00005.html
> > 
> > Presumably Dapper will ship with a post 2.6.12 kernel - so will Dapper
> > ship with full userspace support for this new rlimit?
> > 
> > I checked the current glibc sources and these new RLIMITs are not yet
> > supported...
> 
> Dapper feature freeze begins 2006-02-23.  If you submit the appropriate
> non-invasive patches in time for them to be merged before that date, I see
> no reason not to include them.  However, as yet, there is no motive to push
> ahead of our upstreams on this point except for your request.

Well, I'm fairly confident that I am speaking on behalf of the entire
Linux audio community on this point.  There is a lot of interest in
making Ubuntu usable OOTB for serious audio work.  The kernel side
problems are mostly solved, but we still have to use a third party
kernel module (realtime-lsm) or apply a bunch of hacks to userspace
(specifically PAM) to get the needed functionality.

Thanks for your help - I will try to gather the necessary patches to
bash, PAM, and glibc to properly support kernels >= 2.6.12 before the
freeze.

Lee




More information about the ubuntu-devel mailing list