diff options
author | Vitaly Wool <vitalywool@gmail.com> | 2019-05-31 22:30:39 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-06-01 15:51:31 -0700 |
commit | bb9f6f63f32da40ca34a921e377ad3181a4f9023 (patch) | |
tree | e1d10c3f8437c172b13ddbac199edfeabbcd2f5f /mm/kasan | |
parent | ef7a77c6de2f98c25ca97541f111f14bb74fc13d (diff) | |
download | linux-bb9f6f63f32da40ca34a921e377ad3181a4f9023.tar.bz2 |
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/20190523153245.119dfeed55927e8755250ddd@gmail.com
Fixes: 7c2b8baa61fe5 ("mm/z3fold.c: add structure for buddy handles")
Signed-off-by: Vitaly Wool <vitaly.vul@sony.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/kasan')
0 files changed, 0 insertions, 0 deletions