diff options
author | Laura Abbott <[email protected]> | 2017-08-18 15:16:27 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2017-08-18 15:32:02 -0700 |
commit | 704b862f9efd6d4c87a8d0a344dda19bda9c6b69 (patch) | |
tree | 7e5b86e24c47e8ac8c021be6a08a705c40a134e2 /lib/memory-notifier-error-inject.c | |
parent | 73223e4e2e3867ebf033a5a8eb2e5df0158ccc99 (diff) |
mm/vmalloc.c: don't unconditonally use __GFP_HIGHMEM
Commit 19809c2da28a ("mm, vmalloc: use __GFP_HIGHMEM implicitly") added
use of __GFP_HIGHMEM for allocations. vmalloc_32 may use
GFP_DMA/GFP_DMA32 which does not play nice with __GFP_HIGHMEM and will
trigger a BUG in gfp_zone.
Only add __GFP_HIGHMEM if we aren't using GFP_DMA/GFP_DMA32.
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1482249
Link: http://lkml.kernel.org/r/[email protected]
Fixes: 19809c2da28a ("mm, vmalloc: use __GFP_HIGHMEM implicitly")
Signed-off-by: Laura Abbott <[email protected]>
Acked-by: Michal Hocko <[email protected]>
Cc: Vlastimil Babka <[email protected]>
Cc: "Kirill A. Shutemov" <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions