summaryrefslogtreecommitdiffstats
path: root/kernel/cgroup_pids.c
diff options
context:
space:
mode:
authorVladimir Davydov <vdavydov@parallels.com>2015-08-03 15:32:26 +0300
committerTejun Heo <tj@kernel.org>2015-08-03 10:40:07 -0400
commitcf780b7dc795ff495629b9879dc874eda49ada62 (patch)
treecf82aaae16efb58e89b7ff30f9b17b20a68428e8 /kernel/cgroup_pids.c
parent917d8e2d10f40e28aa9e0d824b2e5b8197d79fc2 (diff)
downloadlinux-cf780b7dc795ff495629b9879dc874eda49ada62.tar.bz2
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