Re: [PATCH] cgroup: fix idr_preload usage
From: Tejun Heo
Date: Mon Aug 03 2015 - 10:48:26 EST
On Mon, Aug 03, 2015 at 03:32:26PM +0300, Vladimir Davydov wrote:
> 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.
Applied to cgroup/for-4.3.
Thanks.
--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/