Thread (2 messages) 2 messages, 2 authors, 2015-08-03

Re: [PATCH] cgroup: fix idr_preload usage

From: Tejun Heo <hidden>
Date: 2015-08-03 14:48:23
Also in: lkml

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help