Re: [PATCH 4/5] Add fair-user scheduler

2007-09-24 Thread Srivatsa Vaddagiri
On Tue, Sep 25, 2007 at 01:39:39AM +0200, roel wrote: > > +static int > > +root_user_share_read_proc(char *page, char **start, off_t off, int count, > > +int *eof, void *data) > > +{ > > + int len; > > + > > + len = sprintf(page, "%d\n", init_task_grp_load); > > + >

Re: [PATCH 4/5] Add fair-user scheduler

2007-09-24 Thread roel
Srivatsa Vaddagiri wrote: > Enable user-id based fair group scheduling. This is usefull for anyone > who wants to test the group scheduler w/o having to enable > CONFIG_CGROUPS. > > A separate scheduling group (i.e struct task_grp) is automatically created > for > every new user added to the

Re: [PATCH 4/5] Add fair-user scheduler

2007-09-24 Thread Ingo Molnar
* Srivatsa Vaddagiri <[EMAIL PROTECTED]> wrote: > Enable user-id based fair group scheduling. This is usefull for anyone > who wants to test the group scheduler w/o having to enable > CONFIG_CGROUPS. excellent! I'll make this default-enabled. Ingo - To unsubscribe from this list:

Re: [PATCH 4/5] Add fair-user scheduler

2007-09-24 Thread Srivatsa Vaddagiri
On Mon, Sep 24, 2007 at 09:56:41AM -0700, Randy Dunlap wrote: > > +choice > > + depends on FAIR_GROUP_SCHED > > + prompt "Basis for grouping tasks" > > + default FAIR_USER_SCHED > > + > > + config FAIR_USER_SCHED > > + bool "user id" > > + help > > + This

Re: [PATCH 4/5] Add fair-user scheduler

2007-09-24 Thread Randy Dunlap
On Mon, 24 Sep 2007 22:10:59 +0530 Srivatsa Vaddagiri wrote: > --- > include/linux/sched.h |4 +++ > init/Kconfig | 13 > kernel/sched.c|9 > kernel/sched_debug.c | 52 > ++ > kernel/user.c

[PATCH 4/5] Add fair-user scheduler

2007-09-24 Thread Srivatsa Vaddagiri
Enable user-id based fair group scheduling. This is usefull for anyone who wants to test the group scheduler w/o having to enable CONFIG_CGROUPS. A separate scheduling group (i.e struct task_grp) is automatically created for every new user added to the system. Upon uid change for a task, it is

[PATCH 4/5] Add fair-user scheduler

2007-09-24 Thread Srivatsa Vaddagiri
Enable user-id based fair group scheduling. This is usefull for anyone who wants to test the group scheduler w/o having to enable CONFIG_CGROUPS. A separate scheduling group (i.e struct task_grp) is automatically created for every new user added to the system. Upon uid change for a task, it is

Re: [PATCH 4/5] Add fair-user scheduler

2007-09-24 Thread Randy Dunlap
On Mon, 24 Sep 2007 22:10:59 +0530 Srivatsa Vaddagiri wrote: --- include/linux/sched.h |4 +++ init/Kconfig | 13 kernel/sched.c|9 kernel/sched_debug.c | 52 ++ kernel/user.c |

Re: [PATCH 4/5] Add fair-user scheduler

2007-09-24 Thread Srivatsa Vaddagiri
On Mon, Sep 24, 2007 at 09:56:41AM -0700, Randy Dunlap wrote: +choice + depends on FAIR_GROUP_SCHED + prompt Basis for grouping tasks + default FAIR_USER_SCHED + + config FAIR_USER_SCHED + bool user id + help + This option will choose

Re: [PATCH 4/5] Add fair-user scheduler

2007-09-24 Thread Ingo Molnar
* Srivatsa Vaddagiri [EMAIL PROTECTED] wrote: Enable user-id based fair group scheduling. This is usefull for anyone who wants to test the group scheduler w/o having to enable CONFIG_CGROUPS. excellent! I'll make this default-enabled. Ingo - To unsubscribe from this list: send the

Re: [PATCH 4/5] Add fair-user scheduler

2007-09-24 Thread roel
Srivatsa Vaddagiri wrote: Enable user-id based fair group scheduling. This is usefull for anyone who wants to test the group scheduler w/o having to enable CONFIG_CGROUPS. A separate scheduling group (i.e struct task_grp) is automatically created for every new user added to the system.

Re: [PATCH 4/5] Add fair-user scheduler

2007-09-24 Thread Srivatsa Vaddagiri
On Tue, Sep 25, 2007 at 01:39:39AM +0200, roel wrote: +static int +root_user_share_read_proc(char *page, char **start, off_t off, int count, +int *eof, void *data) +{ + int len; + + len = sprintf(page, %d\n, init_task_grp_load); + + return len;