Re: [PATCH resend] crypto: get rid of superfluous __GFP_REPEAT

2016-04-15 Thread Herbert Xu
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 i

[PATCH resend] crypto: get rid of superfluous __GFP_REPEAT

2016-04-14 Thread Michal Hocko
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