search for: free_val

Displaying 4 results from an estimated 4 matches for "free_val".

Did you mean: free_vars
2008 Nov 07
0
[PATCH][cfq-cgroups] Introduce ioprio class for top layer.
...(copy_from_user(buffer, userbuf, nbytes)) { - ret = -EFAULT; - goto free_buf; - } - buffer[nbytes] = 0; - - valbuf = kmalloc(nbytes + 1, GFP_KERNEL); - if (!valbuf) { - ret = -ENOMEM; - goto free_buf; - } - - pathbuf = kmalloc(nbytes + 1, GFP_KERNEL); - if (!pathbuf) { - ret = -ENOMEM; - goto free_val; - } - - param_separate(buffer, valbuf, pathbuf, nbytes); - - err = strict_strtoul(valbuf, 10, &new_prio); - if ((err) || ((new_prio < 0) || (new_prio > CFQ_CGROUP_MAX_IOPRIO))) { - ret = -EINVAL; - goto free_path; - } - - sn = strlen(pathbuf); - - p = rb_first(&cfqc->sibling_tre...
2008 Nov 07
0
[PATCH][cfq-cgroups] Introduce ioprio class for top layer.
...(copy_from_user(buffer, userbuf, nbytes)) { - ret = -EFAULT; - goto free_buf; - } - buffer[nbytes] = 0; - - valbuf = kmalloc(nbytes + 1, GFP_KERNEL); - if (!valbuf) { - ret = -ENOMEM; - goto free_buf; - } - - pathbuf = kmalloc(nbytes + 1, GFP_KERNEL); - if (!pathbuf) { - ret = -ENOMEM; - goto free_val; - } - - param_separate(buffer, valbuf, pathbuf, nbytes); - - err = strict_strtoul(valbuf, 10, &new_prio); - if ((err) || ((new_prio < 0) || (new_prio > CFQ_CGROUP_MAX_IOPRIO))) { - ret = -EINVAL; - goto free_path; - } - - sn = strlen(pathbuf); - - p = rb_first(&cfqc->sibling_tre...
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