Vinayak Menon 223c28d53d mm: fix the use of ALLOC_CMA
Movable allocations are allowed to allocate from CMA areas
only when __GFP_CMA is set in the gfp mask of the request.
But ALLOC_CMA is set in alloc_flags for all movable requests.
This can make zone_watermark_ok take incorrect decision.
Fix this by adding ALLOC_CMA only when request is of type
__GFP_CMA.

Change-Id: I15531968021c71cfbedd01d12307a203f0b408ca
Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
2018-08-16 14:22:24 +05:30
..
2017-06-05 16:59:12 +02:00
2018-08-09 21:27:57 -07:00
2018-06-04 15:51:45 +05:30
2018-06-26 11:18:05 +05:30
2018-06-04 14:01:37 +05:30
2018-08-16 14:22:24 +05:30
2018-04-24 09:36:39 +02:00
2018-07-05 17:19:46 +05:30
2018-05-30 07:52:23 +02:00