Messages in this thread | | | Date | Tue, 25 Jan 2005 17:28:55 +1100 | From | Nick Piggin <> | Subject | Re: [patch, 2.6.11-rc2] sched: /proc/sys/kernel/rt_cpu_limit tunable |
| |
Jack O'Quin wrote: > Ingo Molnar <mingo@elte.hu> writes: > > >>* Ingo Molnar <mingo@elte.hu> wrote: >> >>this patch adds the /proc/sys/kernel/rt_cpu_limit tunable: the maximum >>amount of CPU time all RT tasks combined may use, in percent. Defaults >>to 80%. >> >>just apply the patch to 2.6.11-rc2 and you should be able to run e.g. >>"jackd -R" as an unprivileged user. > > > This is a far better idea from an API perspective. We can continue > writing to the POSIX realtime standard interfaces. Yet users can > actually take advantage of them. I like it. >
This still doesn't solve your privlige problem though. If I can't renice something as a regular user, it makes no sense to allow such realtime behaviour.
I still think the ulimit patches aren't a bad idea to solve your privilege problem. At that point, is there still a need for rt_cpu_limit?
Nick
- 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/
| |