diff options
author | Vladimir Davydov <vdavydov@parallels.com> | 2015-08-03 14:32:26 +0200 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2015-08-03 16:40:07 +0200 |
commit | cf780b7dc795ff495629b9879dc874eda49ada62 (patch) | |
tree | cf82aaae16efb58e89b7ff30f9b17b20a68428e8 /kernel/cgroup_pids.c | |
parent | cgroup: add documentation for the PIDs controller (diff) | |
download | linux-cf780b7dc795ff495629b9879dc874eda49ada62.tar.xz linux-cf780b7dc795ff495629b9879dc874eda49ada62.zip |
cgroup: fix idr_preload usage
It does not make much sense to call idr_preload with the same gfp mask
as the following idr_alloc, but this is what we do in cgroup_idr_alloc.
This patch fixes the idr_preload usage by making cgroup_idr_alloc call
idr_alloc w/o __GFP_WAIT. Since it is now safe to call cgroup_idr_alloc
with GFP_KERNEL, the patch also fixes all its callers appropriately.
Signed-off-by: Vladimir Davydov <vdavydov@parallels.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'kernel/cgroup_pids.c')
0 files changed, 0 insertions, 0 deletions