Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 69085
b: refs/heads/master
c: fb61558
h: refs/heads/master
i:
  69083: a7bd7dc
v: v3
  • Loading branch information
Srivatsa Vaddagiri authored and Ingo Molnar committed Oct 15, 2007
1 parent 8fd336e commit 53d1826
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 14 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b39c5dd7f938775fd0a1df5b4b1c26f854d15231
refs/heads/master: fb615581c78efee25e4d04f1145e8fa8ec705dc3
14 changes: 7 additions & 7 deletions trunk/init/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -282,23 +282,23 @@ config CPUSETS
Say N if unsure.

config FAIR_GROUP_SCHED
bool "Fair group cpu scheduler"
bool "Fair group CPU scheduler"
default y
depends on EXPERIMENTAL
help
This feature lets cpu scheduler recognize task groups and control cpu
This feature lets CPU scheduler recognize task groups and control CPU
bandwidth allocation to such task groups.

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 userid as the basis for grouping
tasks, thus providing equal cpu bandwidth to each user.
config FAIR_USER_SCHED
bool "user id"
help
This option will choose userid as the basis for grouping
tasks, thus providing equal CPU bandwidth to each user.

endchoice

Expand Down
8 changes: 2 additions & 6 deletions trunk/kernel/sched_debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -239,11 +239,7 @@ 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;
return sprintf(page, "%d\n", init_task_grp_load);
}

static int
Expand Down Expand Up @@ -297,7 +293,7 @@ static int __init init_sched_debug_procfs(void)
pe->proc_fops = &sched_debug_fops;

#ifdef CONFIG_FAIR_USER_SCHED
pe = create_proc_entry("root_user_share", 0644, NULL);
pe = create_proc_entry("root_user_cpu_share", 0644, NULL);
if (!pe)
return -ENOMEM;

Expand Down

0 comments on commit 53d1826

Please sign in to comment.