git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b414dc0
)
cgroup: implement cgroup_from_id()
author
Li Zefan
<lizefan@huawei.com>
Wed, 31 Jul 2013 01:51:31 +0000
(09:51 +0800)
committer
Tejun Heo
<tj@kernel.org>
Wed, 31 Jul 2013 11:47:34 +0000
(07:47 -0400)
This will be used as a replacement for css_lookup().
There's a difference with cgroup id and css id. cgroup id starts with 0,
while css id starts with 1.
v4:
- also check if cggroup_mutex is held.
- make it an inline function.
Signed-off-by: Li Zefan <lizefan@huawei.com>
Reviewed-by: Michal Hocko <mhocko@suse.cz>
Signed-off-by: Tejun Heo <tj@kernel.org>
include/linux/cgroup.h
patch
|
blob
|
history
diff --cc
include/linux/cgroup.h
Simple merge