Re: [PATCH 18/19] crypto: get rid of superfluous __GFP_REPEAT

From: Michal Hocko
Date: Thu Apr 14 2016 - 03:02:24 EST


On Thu 14-04-16 14:27:31, Herbert Xu wrote:
> On Mon, Apr 11, 2016 at 01:08:11PM +0200, Michal Hocko wrote:
> > From: Michal Hocko <mhocko@xxxxxxxx>
> >
> > __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 <herbert@xxxxxxxxxxxxxxxxxxx>
> > Cc: "David S. Miller" <davem@xxxxxxxxxxxxx>
> > Signed-off-by: Michal Hocko <mhocko@xxxxxxxx>
>
> Could you please send this patch to the linux-crypto list? Thanks.

Will do. Do you prefer it now as a stand along patch or when I repost
the full series. This one doesn't depend on any previous so I can do
both ways.

Thanks!
--
Michal Hocko
SUSE Labs