Top search
[patch] cgroups: trivial fixes for Documentation/cgroups/cgroups.txt
While reading through Documentation/cgroups/cgroups.txt, I found a number of minor wordos and typos. The patch below is a conservative handling of some of these: it provides just a number of "obviously correct" fixes to the English that ...
Message posted on the September 11th, 2012 - 7:30 AM ET
[PATCH] cgroups: fix API thinko
cgroup_attach_task_current_cg API that have upstream is backwards: we really need an API to attach to the cgroups from another process A to the current one. In our case (vhost), a priveledged user wants to attach it's task to cgroups from a less ...
Message posted on the August 5th, 2010 - 7:10 PM ET
[PATCH] cgroups: don't cache common ancestor in task counter subsys
To reproduce the bug: # mount -t cgroup -o tasks xxx /cgroup # mkdir /cgroup/tmp # echo PID > /cgroup/tmp/cgroups.proc (PID has child threads) # echo PID > /cgroup/tasks # ecoh PID > /cgroup/tmp/cgroups.proc (oops!) the call graph is: ...
Message posted on the October 17th, 2011 - 3:40 AM ET
[PATCH] cgroups: update documentation on task moving restriction
- ns cgroup has been removed. - it's true moving a task to another cgroup can fail. Signed-off-by: Li Zefan <lizf@cn.fujitsu.com> Documentation/cgroups/cgroups.txt | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git ...
Message posted on the August 17th, 2011 - 11:00 PM ET
[PATCH] cgroups: remove duplicate include
commit e6a1105b ("cgroups: subsystem module loading interface") and commit c50cc752 ("sched, cgroups: Fix module export") result in duplicate including of cgroup.h Signed-off-by: Li Zefan <lizf@cn.fujitsu.com> ...
Message posted on the March 14th, 2010 - 10:20 PM ET
[RFC][PATCH] cgroups: Run subsystem fork callback from cgroup_post_fork()
When a user freezes a cgroup, the freezer sets the subsystem state to CGROUP_FREEZING and then iterates over the tasks in the cgroup links. But there is a possible race here, although unlikely, if a task forks and the parent is preempted between ...
Message posted on the February 23rd, 2012 - 11:30 PM ET
[patch] cgroups: disallow attaching kthreadd
The hazzards of moving kthreadd into a non-root cgroup is still present in mainline. Last go 'round stalled with Peter not liking the cpuset,cpu per controller specific exclusion. I agree that total exclusion is the better option, and below is a ...
Message posted on the April 3rd, 2012 - 2:00 PM ET
[PATCH] cgroups: fix a css_set not found bug in cgroup_attach_proc
There is a BUG when migrating a PF_EXITING proc. Since css_set_prefetch() is not called for the PF_EXITING case, find_existing_css_set() will return NULL inside cgroup_task_migrate() causing a BUG. This bug is easy to reproduce. Create a zombie and ...
Message posted on the December 15th, 2011 - 2:40 PM ET
[PATCH] cgroups: remove redundant get/put of css_set from css_set_check_fetched()
We already have a reference to all elements in newcg_list. Signed-off-by: Mandeep Singh Baines <msb@chromium.org> Cc: Tejun Heo <tj@kernel.org> Cc: Li Zefan <lizf@cn.fujitsu.com> Cc: containers@lists.linux-foundation.org Cc: ...
Message posted on the December 15th, 2011 - 5:30 PM ET
[patch] cgroups: save space for the terminator
The original code didn't leave enough space for a NULL terminator. These strings are copied with strcpy() into fixed length buffers in cgroup_root_from_opts(). Signed-off-by: Dan Carpenter <error27@gmail.com> diff --git a/kernel/cgroup.c ...
Message posted on the July 10th, 2010 - 7:00 AM ET
[PATCH] cgroups: make cftype.unregister_event() void-returning
Since we unable to handle error returned by cftype.unregister_event() properly, let's make the callback void-returning. mem_cgroup_unregister_event() has been rewritten to be "never fail" function. On mem_cgroup_usage_register_event() we ...
Message posted on the May 7th, 2010 - 7:50 AM ET
[PATCH] cgroups: respect cgroup timer slack value in prctl
From: Jacob Pan <jacob.jun.pan@linux.intel.com> Per cgroup timer slack value is used to manage task groups for more friendly power management behavior. Once a task is attached to a cgroup, we should not allow user to change (escape) the per ...
Message posted on the February 1st, 2011 - 5:50 PM ET
[PATCH -mm] cgroup: Fix task counter common ancestor logic
The task counter subsystem has been written assuming that can_attach_task/attach_task/cancel_attach_task calls are serialized per task. This is true when we attach only one task but not when we attach a whole thread group, in which case the sequence ...
Message posted on the November 8th, 2011 - 10:30 AM ET
[PATCH] blk-cgroup: config options re-arrangement
This patch fixes few usability and configurability issues. o All the cgroup based controller options are configurable from "Genral Setup/Control Group Support/" menu. blkio is the only exception. Hence make this option visible in above ...
Message posted on the April 22nd, 2010 - 6:40 PM ET
May 18th, 2013 - 3:13 AM ET
Join now
Login

