Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753551AbbHCOsX (ORCPT ); Mon, 3 Aug 2015 10:48:23 -0400 Received: from mail-yk0-f182.google.com ([209.85.160.182]:33188 "EHLO mail-yk0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751637AbbHCOsV (ORCPT ); Mon, 3 Aug 2015 10:48:21 -0400 Date: Mon, 3 Aug 2015 10:48:18 -0400 From: Tejun Heo To: Vladimir Davydov Cc: Li Zefan , Johannes Weiner , cgroups@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] cgroup: fix idr_preload usage Message-ID: <20150803144818.GD32599@mtj.duckdns.org> References: <1438605146-23962-1-git-send-email-vdavydov@parallels.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1438605146-23962-1-git-send-email-vdavydov@parallels.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 724 Lines: 18 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/