Messages in this thread | | | Date | Fri, 28 Jan 2005 09:08:02 +0100 | From | Ingo Molnar <> | Subject | Re: [patch, 2.6.11-rc2] sched: RLIMIT_RT_CPU_RATIO feature |
| |
* Nick Piggin <nickpiggin@yahoo.com.au> wrote:
> And finally, with rlimit support, is there any reason why lockup > detection and correction can't go into userspace? Even RT throttling > could probably be done in a userspace daemon.
that is correct. Jackd already has a watchdog thread, against lockups.
i'm wondering, couldnt Jackd solve this whole issue completely in user-space, via a simple setuid-root wrapper app that does nothing else but validates whether the user is in the 'jackd' group and then keeps a pipe open to to the real jackd process which it forks off, deprivileges and exec()s? Then unprivileged jackd could request RT-priority changes via that pipe in a straightforward way. Jack normally gets installed as root/admin anyway, so it's not like this couldnt be done.
Ingo - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |