diff options
author | Vitaly Wool <vitalywool@gmail.com> | 2019-06-01 07:30:39 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-06-02 00:51:31 +0200 |
commit | bb9f6f63f32da40ca34a921e377ad3181a4f9023 (patch) | |
tree | e1d10c3f8437c172b13ddbac199edfeabbcd2f5f /mm/kasan | |
parent | scripts/gdb: fix invocation when CONFIG_COMMON_CLK is not set (diff) | |
download | linux-bb9f6f63f32da40ca34a921e377ad3181a4f9023.tar.xz linux-bb9f6f63f32da40ca34a921e377ad3181a4f9023.zip |
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