Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1198910

Re: [PATCH] cgroup: fix idr_preload usage

From Tejun Heo <tj@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH] cgroup: fix idr_preload usage
Date 2015-08-03 16:50 +0200
Message-ID <pTpdU-62e-17@gated-at.bofh.it> (permalink)
References <pTnc6-38S-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] cgroup: fix idr_preload usage Vladimir Davydov <vdavydov@parallels.com> - 2015-08-03 14:40 +0200
  Re: [PATCH] cgroup: fix idr_preload usage Tejun Heo <tj@kernel.org> - 2015-08-03 16:50 +0200

csiph-web