public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* boot cgroup questions
@ 2008-03-12  1:23 Max Krasnyansky
  2008-03-12  1:27 ` Paul Menage
  0 siblings, 1 reply; 42+ messages in thread
From: Max Krasnyansky @ 2008-03-12  1:23 UTC (permalink / raw)
  To: Paul Jackson, Paul Menage, Ingo Molnar, Peter Zijlstra; +Cc: LKML

Folks,

Concept of 'boot' cgroup was discussed as part of the cpuset/cpuisol lkml threads.
In short 'boot' group is very much like the 'root' or toplevel group. ie It
contains all tasks, and 'boot' cpuset contains all cpus, mem nodes, irqs, etc.
The difference is that it can be easily shrunk if needed, where as
toplevel/root group cannot.

I just wanted to make sure that we still want to create 'boot' cgroup during
kernel init instead of doing it in the user-space.

After looking into this a little bit I'm thinking of creating 'boot' cgroup
right after cpuset_init_smp() (init/main.c:841). Just before do_basic_setup()
which creates work queues and stuff.

The thing is though that the very next thing we do there is run early
userspace. Which begs the question, shouldn't we just do it from early
user-space then ?
It'd be very simple to mount cgroup, create 'boot' group and move all the
tasks in there.

So kernel or early-userspace ?

If kernel.
Paul M, do you have a suggestion as to what's the best way of creating a
cgroup without mounting cgroup fs. Seems like there is currently no easy way
for doing that. I probably missed it.

Thanx
Max




^ permalink raw reply	[flat|nested] 42+ messages in thread

end of thread, other threads:[~2008-05-21 17:58 UTC | newest]

Thread overview: 42+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-12  1:23 boot cgroup questions Max Krasnyansky
2008-03-12  1:27 ` Paul Menage
2008-03-12  2:34   ` Max Krasnyansky
2008-03-12  2:36     ` Paul Menage
2008-03-12  2:53       ` Max Krasnyansky
2008-03-12  3:09         ` Paul Menage
2008-03-12  3:39           ` Max Krasnyansky
2008-03-12  4:59           ` Paul Jackson
2008-03-12 18:24             ` Max Krasnyanskiy
2008-03-12 18:57               ` Paul Jackson
2008-03-12 19:11                 ` Max Krasnyanskiy
2008-03-12 19:32                   ` Paul Jackson
2008-03-12 20:08                     ` Max Krasnyanskiy
2008-03-12 20:37                       ` Paul Jackson
2008-03-12 22:29                         ` Max Krasnyanskiy
2008-03-12 23:30                           ` Paul Jackson
2008-03-13  0:57                             ` Max Krasnyanskiy
2008-03-13  7:03                               ` Paul Jackson
2008-04-10 18:03                                 ` Max Krasnyanskiy
2008-04-14 18:39                                   ` Paul Jackson
2008-05-09 10:45                                     ` Peter Zijlstra
2008-05-09 11:17                                       ` IRQ affinities (was: boot cgroup questions) Paul Jackson
2008-05-09 11:48                                         ` Peter Zijlstra
2008-05-09 12:03                                           ` Paul Jackson
2008-05-09 12:14                                             ` Peter Zijlstra
2008-05-09 12:36                                               ` Paul Jackson
2008-05-09 17:43                                                 ` Paul Jackson
2008-05-21  1:21                                                 ` IRQ affinities Max Krasnyanskiy
2008-05-21  1:14                                         ` Max Krasnyanskiy
2008-05-21  4:45                                           ` Arjan van de Ven
2008-05-21 16:18                                             ` Max Krasnyanskiy
2008-05-21  6:34                                           ` Paul Jackson
2008-05-21 17:58                                             ` Max Krasnyanskiy
2008-04-14 18:42                                   ` boot cgroup questions Paul Jackson
2008-03-13  7:12                               ` Paul Jackson
2008-04-10 17:24                                 ` Max Krasnyanskiy
2008-04-10 17:37                                   ` Paul Jackson
2008-03-12 23:32                           ` Paul Jackson
2008-03-13  0:46                             ` Max Krasnyanskiy
2008-03-12 19:16             ` Paul Menage
2008-03-12 19:24               ` Paul Jackson
2008-03-12 19:30                 ` Max Krasnyanskiy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox