diff options
author | Vladimir Davydov <vdavydov@parallels.com> | 2015-08-03 15:32:26 +0300 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2015-08-03 17:40:07 +0300 |
commit | cf780b7dc795ff495629b9879dc874eda49ada62 (patch) | |
tree | cf82aaae16efb58e89b7ff30f9b17b20a68428e8 /kernel/cgroup_pids.c | |
parent | 917d8e2d10f40e28aa9e0d824b2e5b8197d79fc2 (diff) | |
download | linux-cf780b7dc795ff495629b9879dc874eda49ada62.tar.xz |
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