Re: [PATCH][DOCUMENTATION] Minimal controller code for a quick start

2008-02-08 Thread Pavel Emelyanov
Serge E. Hallyn wrote: > Quoting Pavel Emelyanov ([EMAIL PROTECTED]): >> The Documentation/cgroups.txt file contains the info on how >> to write some controller for cgroups subsystem, but even with >> this, one need to write quite a lot of code before developing >> the core (or copy-n-paste it

Re: [PATCH][DOCUMENTATION] Minimal controller code for a quick start

2008-02-08 Thread Pavel Emelyanov
Paul Menage wrote: > On Feb 7, 2008 7:37 AM, Pavel Emelyanov <[EMAIL PROTECTED]> wrote: >> The Documentation/cgroups.txt file contains the info on how >> to write some controller for cgroups subsystem, but even with >> this, one need to write quite a lot of code before developing >> the core (or

Re: [PATCH][DOCUMENTATION] Minimal controller code for a quick start

2008-02-08 Thread Pavel Emelyanov
Serge E. Hallyn wrote: Quoting Pavel Emelyanov ([EMAIL PROTECTED]): The Documentation/cgroups.txt file contains the info on how to write some controller for cgroups subsystem, but even with this, one need to write quite a lot of code before developing the core (or copy-n-paste it from some

Re: [PATCH][DOCUMENTATION] Minimal controller code for a quick start

2008-02-07 Thread Peter Zijlstra
On Thu, 2008-02-07 at 12:49 -0800, Paul Menage wrote: > On Feb 7, 2008 12:28 PM, Peter Zijlstra <[EMAIL PROTECTED]> wrote: > > > > While on the subject, could someone document struct cgroup_subsys. > > There's documentation for all the methods in Documentation/cgroup.txt Hehe, and here I was

Re: [PATCH][DOCUMENTATION] Minimal controller code for a quick start

2008-02-07 Thread Serge E. Hallyn
Quoting Peter Zijlstra ([EMAIL PROTECTED]): > > On Thu, 2008-02-07 at 18:37 +0300, Pavel Emelyanov wrote: > > The Documentation/cgroups.txt file contains the info on how > > to write some controller for cgroups subsystem, but even with > > this, one need to write quite a lot of code before

Re: [PATCH][DOCUMENTATION] Minimal controller code for a quick start

2008-02-07 Thread Paul Menage
On Feb 7, 2008 12:28 PM, Peter Zijlstra <[EMAIL PROTECTED]> wrote: > > While on the subject, could someone document struct cgroup_subsys. There's documentation for all the methods in Documentation/cgroup.txt > particular, I've wondered why we have: cgroup_subsys::can_attach() and > not use a

Re: [PATCH][DOCUMENTATION] Minimal controller code for a quick start

2008-02-07 Thread Serge E. Hallyn
Quoting Pavel Emelyanov ([EMAIL PROTECTED]): > The Documentation/cgroups.txt file contains the info on how > to write some controller for cgroups subsystem, but even with > this, one need to write quite a lot of code before developing > the core (or copy-n-paste it from some other place). > > I

Re: [PATCH][DOCUMENTATION] Minimal controller code for a quick start

2008-02-07 Thread Paul Menage
On Feb 7, 2008 7:37 AM, Pavel Emelyanov <[EMAIL PROTECTED]> wrote: > The Documentation/cgroups.txt file contains the info on how > to write some controller for cgroups subsystem, but even with > this, one need to write quite a lot of code before developing > the core (or copy-n-paste it from some

Re: [PATCH][DOCUMENTATION] Minimal controller code for a quick start

2008-02-07 Thread Peter Zijlstra
On Thu, 2008-02-07 at 18:37 +0300, Pavel Emelyanov wrote: > The Documentation/cgroups.txt file contains the info on how > to write some controller for cgroups subsystem, but even with > this, one need to write quite a lot of code before developing > the core (or copy-n-paste it from some other

[PATCH][DOCUMENTATION] Minimal controller code for a quick start

2008-02-07 Thread Pavel Emelyanov
The Documentation/cgroups.txt file contains the info on how to write some controller for cgroups subsystem, but even with this, one need to write quite a lot of code before developing the core (or copy-n-paste it from some other place). I propose to put this minimal controller into Documentation

Re: [PATCH][DOCUMENTATION] Minimal controller code for a quick start

2008-02-07 Thread Serge E. Hallyn
Quoting Peter Zijlstra ([EMAIL PROTECTED]): On Thu, 2008-02-07 at 18:37 +0300, Pavel Emelyanov wrote: The Documentation/cgroups.txt file contains the info on how to write some controller for cgroups subsystem, but even with this, one need to write quite a lot of code before developing

Re: [PATCH][DOCUMENTATION] Minimal controller code for a quick start

2008-02-07 Thread Serge E. Hallyn
Quoting Pavel Emelyanov ([EMAIL PROTECTED]): The Documentation/cgroups.txt file contains the info on how to write some controller for cgroups subsystem, but even with this, one need to write quite a lot of code before developing the core (or copy-n-paste it from some other place). I propose

Re: [PATCH][DOCUMENTATION] Minimal controller code for a quick start

2008-02-07 Thread Peter Zijlstra
On Thu, 2008-02-07 at 18:37 +0300, Pavel Emelyanov wrote: The Documentation/cgroups.txt file contains the info on how to write some controller for cgroups subsystem, but even with this, one need to write quite a lot of code before developing the core (or copy-n-paste it from some other

[PATCH][DOCUMENTATION] Minimal controller code for a quick start

2008-02-07 Thread Pavel Emelyanov
The Documentation/cgroups.txt file contains the info on how to write some controller for cgroups subsystem, but even with this, one need to write quite a lot of code before developing the core (or copy-n-paste it from some other place). I propose to put this minimal controller into Documentation

Re: [PATCH][DOCUMENTATION] Minimal controller code for a quick start

2008-02-07 Thread Paul Menage
On Feb 7, 2008 12:28 PM, Peter Zijlstra [EMAIL PROTECTED] wrote: While on the subject, could someone document struct cgroup_subsys. There's documentation for all the methods in Documentation/cgroup.txt particular, I've wondered why we have: cgroup_subsys::can_attach() and not use a return

Re: [PATCH][DOCUMENTATION] Minimal controller code for a quick start

2008-02-07 Thread Paul Menage
On Feb 7, 2008 7:37 AM, Pavel Emelyanov [EMAIL PROTECTED] wrote: The Documentation/cgroups.txt file contains the info on how to write some controller for cgroups subsystem, but even with this, one need to write quite a lot of code before developing the core (or copy-n-paste it from some other

Re: [PATCH][DOCUMENTATION] Minimal controller code for a quick start

2008-02-07 Thread Peter Zijlstra
On Thu, 2008-02-07 at 12:49 -0800, Paul Menage wrote: On Feb 7, 2008 12:28 PM, Peter Zijlstra [EMAIL PROTECTED] wrote: While on the subject, could someone document struct cgroup_subsys. There's documentation for all the methods in Documentation/cgroup.txt Hehe, and here I was looking for