Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752017AbcDOOhw (ORCPT ); Fri, 15 Apr 2016 10:37:52 -0400 Received: from helcar.hengli.com.au ([209.40.204.226]:57870 "EHLO helcar.hengli.com.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750927AbcDOOhl (ORCPT ); Fri, 15 Apr 2016 10:37:41 -0400 Date: Fri, 15 Apr 2016 22:37:24 +0800 From: Herbert Xu To: Michal Hocko Cc: linux-mm@kvack.org, LKML , Andrew Morton , Michal Hocko , "David S. Miller" , linux-crypto@vger.kernel.org Subject: Re: [PATCH resend] crypto: get rid of superfluous __GFP_REPEAT Message-ID: <20160415143724.GI733@gondor.apana.org.au> References: <1460372892-8157-19-git-send-email-mhocko@kernel.org> <1460623902-7109-1-git-send-email-mhocko@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1460623902-7109-1-git-send-email-mhocko@kernel.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 782 Lines: 20 On Thu, Apr 14, 2016 at 10:51:42AM +0200, Michal Hocko wrote: > From: Michal Hocko > > __GFP_REPEAT has a rather weak semantic but since it has been introduced > around 2.6.12 it has been ignored for low order allocations. > > lzo_init uses __GFP_REPEAT to allocate LZO1X_MEM_COMPRESS 16K. This is > order 3 allocation request and __GFP_REPEAT is ignored for this size > as well as all <= PAGE_ALLOC_COSTLY requests. > > Cc: Herbert Xu > Cc: "David S. Miller" > Cc: linux-crypto@vger.kernel.org > Signed-off-by: Michal Hocko Applied. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt