diff options
author | Qian Cai <[email protected]> | 2020-12-05 22:14:55 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2020-12-06 10:19:07 -0800 |
commit | b11a76b37a5aa7b07c3e3eeeaae20b25475bddd3 (patch) | |
tree | 136f50d4ee06d7b0fd281af91e43d0c6e7c86595 /tools/perf/scripts/python/syscall-counts.py | |
parent | e91d8d78237de8d7120c320b3645b7100848f24d (diff) |
mm/swapfile: do not sleep with a spin lock held
We can't call kvfree() with a spin lock held, so defer it. Fixes a
might_sleep() runtime warning.
Fixes: 873d7bcfd066 ("mm/swapfile.c: use kvzalloc for swap_info_struct allocation")
Signed-off-by: Qian Cai <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Reviewed-by: Andrew Morton <[email protected]>
Cc: Hugh Dickins <[email protected]>
Cc: <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions