[Devel] Re: Fw: cgroups and dbus

2009-12-22 Thread Li Zefan
>> It seems what you asked was an example of cgroup. >> Maybe the simplest cgroup in the kernel is CONFIG_CGROUP_CPUACCT. >> (kernel/sched.c) The next one is CGROUP_DEVICE (security/device_cgroup.c) >> >> Documentation under Documentation/cgroups/ is always taken care to be >> updated. >> If you

[Devel] Re: Fw: cgroups and dbus

2009-12-22 Thread Ian Molton
KAMEZAWA Hiroyuki wrote: > I'm not sure wheter this kind of moving function from user to kernel > is welcomed or not.. The aim is to improve dbus performance by avoiding context switching as often. > It seems what you asked was an example of cgroup. > Maybe the simplest cgroup in the kernel is

[Devel] Re: Fw: cgroups and dbus

2009-12-22 Thread Ian Molton
Balbir Singh wrote: > On Mon, Dec 21, 2009 at 10:54 AM, KAMEZAWA Hiroyuki < > kamezawa.hir...@jp.fujitsu.com> wrote: > >> Forwarding to container mailing list. Sorry, I myself don't have quick >> answer. But, hmm, what you want cannot be achieved with libcgroup ? Cheers guys, my subscription to

[Devel] Re: Fw: cgroups and dbus

2009-12-21 Thread KAMEZAWA Hiroyuki
On Mon, 21 Dec 2009 10:03:58 + Ian Molton wrote: > Balbir Singh wrote: > > On Mon, Dec 21, 2009 at 10:54 AM, KAMEZAWA Hiroyuki < > > kamezawa.hir...@jp.fujitsu.com> wrote: > > > >> Forwarding to container mailing list. Sorry, I myself don't have quick > >> answer. But, hmm, what you want can

[Devel] Re: Fw: cgroups and dbus

2009-12-20 Thread Balbir Singh
On Mon, Dec 21, 2009 at 10:54 AM, KAMEZAWA Hiroyuki < kamezawa.hir...@jp.fujitsu.com> wrote: > Forwarding to container mailing list. Sorry, I myself don't have quick > answer. > But, hmm, what you want cannot be achieved with libcgroup ? > > > [snip] CC'ing libcgroup mailing list. Could you pleas