commit | f1549cb5ab2bd04cb370502b720268f610e21baa | [log] [tgz] |
---|---|---|
author | Henry Burns <[email protected]> | Tue Jul 16 16:26:03 2019 -0700 |
committer | Linus Torvalds <[email protected]> | Tue Jul 16 19:23:21 2019 -0700 |
tree | 333288998589ae40b1bacf7903b828fa83e5f936 | |
parent | 929f92f78068a18ffa38ea7af3faad7fceca529c [diff] |
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. [[email protected]: coding-style fixes] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Henry Burns <[email protected]> Acked-by: Vitaly Wool <[email protected]> Reviewed-by: Shakeel Butt <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>