Hi Lennart, Andrey,<br><br>Some questions about the discuss:<br> 1. Does systemd re-enable sorting user sessions into their own cgroups in the 'cpu' hierarchy?<br> 2. AIUI, rtkit is a daemon used for doing RT-related privilege operations. It doesn't spawn RT-threads. Am I right?<br>
3. Does rtkit have related systemd service file? Does it run at its own cgroup with controller=cpu? If yes, how does the cgroup receive rt-bandwidth(period time, run time)?<br><br><br><div class="gmail_quote">2011/2/10 Andrey Borzenkov <span dir="ltr"><<a href="mailto:arvidjaar@mail.ru">arvidjaar@mail.ru</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On Tue, Feb 8, 2011 at 3:11 PM, Lennart Poettering<br>
<<a href="mailto:lennart@poettering.net">lennart@poettering.net</a>> wrote:<br>
> Weird, weird, weird. So, systemd is in the right cgroup with correct<br>
> settings but still doesn't have the privs to make itself RT. There's<br>
> something very weird here.<br>
><br>
<br>
</div>Kernel bug.<br>
<br>
commit f44937718ce3b8360f72f6c68c9481712517a867<br>
Author: Mike Galbraith <<a href="mailto:efault@gmx.de">efault@gmx.de</a>><br>
Date: Thu Jan 13 04:54:50 2011 +0100<br>
<br>
sched, autogroup: Fix CONFIG_RT_GROUP_SCHED sched_setscheduler() failure<br>
<br>
If CONFIG_RT_GROUP_SCHED is set, __sched_setscheduler() fails due<br>
to autogroup<br>
not allocating rt_runtime. Free unused/unusable rt_se and rt_rq,<br>
redirect RT<br>
tasks to the root task group, and tell __sched_setscheduler() that it's ok.<br>
<div><div></div><div class="h5">_______________________________________________<br>
systemd-devel mailing list<br>
<a href="mailto:systemd-devel@lists.freedesktop.org">systemd-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/systemd-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/systemd-devel</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Regards,<div><br><div>- cee1</div></div><br>