[systemd-devel] [lennart at kemper.freedesktop.org: [systemd-commits] src/pam-module.c]

fykcee1 at gmail.com fykcee1 at gmail.com
Thu Feb 10 18:30:06 PST 2011


Hi Lennart, Andrey,

Some questions about the discuss:
  1. Does systemd re-enable sorting user sessions into their own cgroups in
the 'cpu' hierarchy?
  2. AIUI, rtkit is a daemon used for doing RT-related privilege operations.
It doesn't spawn RT-threads. Am I right?
  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)?


2011/2/10 Andrey Borzenkov <arvidjaar at mail.ru>

> On Tue, Feb 8, 2011 at 3:11 PM, Lennart Poettering
> <lennart at poettering.net> wrote:
> > Weird, weird, weird. So, systemd is in the right cgroup with correct
> > settings but still doesn't have the privs to make itself RT. There's
> > something very weird here.
> >
>
> Kernel bug.
>
> commit f44937718ce3b8360f72f6c68c9481712517a867
> Author: Mike Galbraith <efault at gmx.de>
> Date:   Thu Jan 13 04:54:50 2011 +0100
>
>    sched, autogroup: Fix CONFIG_RT_GROUP_SCHED sched_setscheduler() failure
>
>    If CONFIG_RT_GROUP_SCHED is set, __sched_setscheduler() fails due
> to autogroup
>    not allocating rt_runtime.  Free unused/unusable rt_se and rt_rq,
> redirect RT
>    tasks to the root task group, and tell __sched_setscheduler() that it's
> ok.
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel
>



-- 
Regards,

- cee1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20110211/8ccf4bd3/attachment.html>


More information about the systemd-devel mailing list