commit | cf780b7dc795ff495629b9879dc874eda49ada62 | [log] [tgz] |
---|---|---|
author | Vladimir Davydov <vdavydov@parallels.com> | Mon Aug 03 15:32:26 2015 +0300 |
committer | Tejun Heo <tj@kernel.org> | Mon Aug 03 10:40:07 2015 -0400 |
tree | cf82aaae16efb58e89b7ff30f9b17b20a68428e8 | |
parent | 917d8e2d10f40e28aa9e0d824b2e5b8197d79fc2 [diff] |
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>