From: Tejun Heo <tj@kernel.org>
To: Vladimir Davydov <vdavydov@parallels.com>
Cc: Li Zefan <lizefan@huawei.com>,
Johannes Weiner <hannes@cmpxchg.org>,
cgroups@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] cgroup: fix idr_preload usage
Date: Mon, 3 Aug 2015 10:48:18 -0400 [thread overview]
Message-ID: <20150803144818.GD32599@mtj.duckdns.org> (raw)
In-Reply-To: <1438605146-23962-1-git-send-email-vdavydov@parallels.com>
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
prev parent reply other threads:[~2015-08-03 14:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-03 12:32 Vladimir Davydov
2015-08-03 14:48 ` Tejun Heo [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150803144818.GD32599@mtj.duckdns.org \
--to=tj@kernel.org \
--cc=cgroups@vger.kernel.org \
--cc=hannes@cmpxchg.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lizefan@huawei.com \
--cc=vdavydov@parallels.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®