summaryrefslogtreecommitdiffstats
path: root/mm/memcontrol.c
diff options
context:
space:
mode:
authorHenry Burns2019-07-17 01:26:03 +0200
committerLinus Torvalds2019-07-17 04:23:21 +0200
commitf1549cb5ab2bd04cb370502b720268f610e21baa (patch)
tree333288998589ae40b1bacf7903b828fa83e5f936 /mm/memcontrol.c
parentmm/cma.c: fix a typo ("alloc_cma" -> "cma_alloc") in cma_release() comments (diff)
downloadkernel-qcow2-linux-f1549cb5ab2bd04cb370502b720268f610e21baa.tar.gz
kernel-qcow2-linux-f1549cb5ab2bd04cb370502b720268f610e21baa.tar.xz
kernel-qcow2-linux-f1549cb5ab2bd04cb370502b720268f610e21baa.zip
mm/z3fold.c: allow __GFP_HIGHMEM in z3fold_alloc
One of the gfp flags used to show that a page is movable is __GFP_HIGHMEM. Currently z3fold_alloc() fails when __GFP_HIGHMEM is passed. Now that z3fold pages are movable, we allow __GFP_HIGHMEM. We strip the movability related flags from the call to kmem_cache_alloc() for our slots since it is a kernel allocation. [akpm@linux-foundation.org: coding-style fixes] Link: http://lkml.kernel.org/r/20190712222118.108192-1-henryburns@google.com Signed-off-by: Henry Burns <henryburns@google.com> Acked-by: Vitaly Wool <vitalywool@gmail.com> Reviewed-by: Shakeel Butt <shakeelb@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/memcontrol.c')
0 files changed, 0 insertions, 0 deletions