]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: lzo - get rid of superfluous __GFP_REPEAT
authorMichal Hocko <mhocko@suse.com>
Thu, 14 Apr 2016 08:51:42 +0000 (10:51 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 15 Apr 2016 14:36:36 +0000 (22:36 +0800)
commit5a397f054d22846173079fed3323db44e6aca220
treec5efc6393b5308e6745d1d054283709b15cd22b5
parent46396fa483db7d3e0bdf9739df799497863501f2
crypto: lzo - get rid of superfluous __GFP_REPEAT

__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@gondor.apana.org.au>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: linux-crypto@vger.kernel.org
Signed-off-by: Michal Hocko <mhocko@suse.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/lzo.c