search for: new_prio

Displaying 5 results from an estimated 5 matches for "new_prio".

Did you mean: net_prio
2008 Oct 29
0
[PATCH][cfq-cgroups] Introduce cgroups structure with ioprio entry.
...nbytes, ppos, page, ret); + +out: + free_page((unsigned long)page); + return ret; +} + +static ssize_t cfq_cgroup_write(struct cgroup *cont, struct cftype *cft, + struct file *file, const char __user *userbuf, + size_t nbytes, loff_t *ppos) +{ + struct cfq_cgroup *cfqc; + ssize_t ret; + long new_prio; + int err; + char *buffer = NULL; + + cgroup_lock(); + if (cgroup_is_removed(cont)) { + cgroup_unlock(); + ret = -ENODEV; + goto out; + } + + cfqc = cgroup_to_cfq_cgroup(cont); + cgroup_unlock(); + + /* set priority */ + buffer = kmalloc(nbytes + 1, GFP_KERNEL); + if (buffer == NULL) + return...
2008 Nov 07
0
[PATCH][cfq-cgroups] Introduce ioprio class for top layer.
...\ +out: \ + free_page((unsigned long)page); \ + return ret; \ } - -static ssize_t cfq_cgroup_write(struct cgroup *cont, struct cftype *cft, - struct file *file, const char __user *userbuf, - size_t nbytes, loff_t *ppos) -{ - struct cfq_cgroup *cfqc; - ssize_t ret; - long new_prio; - int err, sn; - char *buffer = NULL; - char *valbuf = NULL, *pathbuf = NULL; - struct rb_node *p; - - cgroup_lock(); - if (cgroup_is_removed(cont)) { - cgroup_unlock(); - ret = -ENODEV; - goto out; - } - - cfqc = cgroup_to_cfq_cgroup(cont); - cgroup_unlock(); - - /* set priority */ - buffer =...
2008 Nov 07
0
[PATCH][cfq-cgroups] Introduce ioprio class for top layer.
...\ +out: \ + free_page((unsigned long)page); \ + return ret; \ } - -static ssize_t cfq_cgroup_write(struct cgroup *cont, struct cftype *cft, - struct file *file, const char __user *userbuf, - size_t nbytes, loff_t *ppos) -{ - struct cfq_cgroup *cfqc; - ssize_t ret; - long new_prio; - int err, sn; - char *buffer = NULL; - char *valbuf = NULL, *pathbuf = NULL; - struct rb_node *p; - - cgroup_lock(); - if (cgroup_is_removed(cont)) { - cgroup_unlock(); - ret = -ENODEV; - goto out; - } - - cfqc = cgroup_to_cfq_cgroup(cont); - cgroup_unlock(); - - /* set priority */ - buffer =...
2008 Nov 12
15
[PATCH][RFC][12+2][v3] A expanded CFQ scheduler for cgroups
This patchset expands traditional CFQ scheduler in order to support cgroups, and improves old version. Improvements are as following. * Modularizing our new CFQ scheduler. The expanded CFQ scheduler is registered/unregistered as new I/O elevator scheduler called "cfq-cgroups". By this, the traditional CFQ scheduler, which does not handle cgroups, and our new CFQ
2008 Nov 12
15
[PATCH][RFC][12+2][v3] A expanded CFQ scheduler for cgroups
This patchset expands traditional CFQ scheduler in order to support cgroups, and improves old version. Improvements are as following. * Modularizing our new CFQ scheduler. The expanded CFQ scheduler is registered/unregistered as new I/O elevator scheduler called "cfq-cgroups". By this, the traditional CFQ scheduler, which does not handle cgroups, and our new CFQ