On Mon, 22.06.09 21:28, Emanuel Rumpf (xb...@web.de) wrote:

> 
> 2009/6/19 Lennart Poettering <mz...@0pointer.de>:
> 
> > Also, asking the user to edit /etc/security/limits.conf
> > is certainly not user-friendly. We want to enable RT scheduling for
> > media aplications out-of-the-box.
> >
> Why not just create a small script to handle editing + reloading of
> limits.conf :
> 
> $ allow_realtime_for_group audio yes
> Allowed RT scheduling for group audio
> 
> $ allow_realtime_for_group audio no
> Disallowed RT scheduling for group audio
> 
> Things seem to work well with limits.conf set up.
> No reason to change it AFAIS.

Dude. Seriously.

As pointed out gazillions of times handing our RLIMIT_RTPRIO to
everyone is an invitation to freeze the machine. While that might not
be a problem on an audio workstation, it is a problem for the big
distributions.

Lennart

-- 
Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net
http://0pointer.net/lennart/           GnuPG 0x1A015CC4
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev

Reply via email to