Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753224AbZL3TKx (ORCPT ); Wed, 30 Dec 2009 14:10:53 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752743AbZL3TKw (ORCPT ); Wed, 30 Dec 2009 14:10:52 -0500 Received: from 0122700014.0.fullrate.dk ([95.166.99.235]:37011 "EHLO kernel.dk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752559AbZL3TKw (ORCPT ); Wed, 30 Dec 2009 14:10:52 -0500 Date: Wed, 30 Dec 2009 20:10:51 +0100 From: Jens Axboe To: Hugh Dickins Cc: Christoph Hellwig , linux-kernel@vger.kernel.org Subject: Re: [PATCH] block: discard use gfp_mask Message-ID: <20091230191050.GH4489@kernel.dk> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 723 Lines: 17 On Wed, Dec 30 2009, Hugh Dickins wrote: > blkdev_issue_discard() takes a gfp_mask argument: usually GFP_KERNEL, > but GFP_NOIO from swap and GFP_NOFS from gfs2. blkdev_issue_discard() > should use that for its alloc_page(), instead of assuming GFP_KERNEL. An identical patch from OGAWA Hirofumi is already included in my current tree. Linus hasn't pulled it yet, but I did send out a request yesterday. So hopefully it'll show up in a -git near you soon :-) -- Jens Axboe -- 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/