commit | bb9f6f63f32da40ca34a921e377ad3181a4f9023 | [log] [tgz] |
---|---|---|
author | Vitaly Wool <[email protected]> | Fri May 31 22:30:39 2019 -0700 |
committer | Linus Torvalds <[email protected]> | Sat Jun 01 15:51:31 2019 -0700 |
tree | e1d10c3f8437c172b13ddbac199edfeabbcd2f5f | |
parent | ef7a77c6de2f98c25ca97541f111f14bb74fc13d [diff] |
z3fold: fix sheduling while atomic kmem_cache_alloc() may be called from z3fold_alloc() in atomic context, so we need to pass correct gfp flags to avoid "scheduling while atomic" bug. Link: http://lkml.kernel.org/r/[email protected] Fixes: 7c2b8baa61fe5 ("mm/z3fold.c: add structure for buddy handles") Signed-off-by: Vitaly Wool <[email protected]> Reviewed-by: Andrew Morton <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>