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

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 co

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 loo

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 develop

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 retu

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 pr

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 o

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 pla