diff options
author | Sergey Senozhatsky <[email protected]> | 2022-11-22 12:30:22 +0900 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2022-11-30 15:59:07 -0800 |
commit | 8d9b63708ddd1ac51e0260c7b8f641daf01f4caf (patch) | |
tree | 5b556095bef64db52c2a43904500cedf3e94153d /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 7ce5f7e16afa82d33dc47d633404b8b1142a5e44 (diff) |
zswap: do not allocate from atomic pool
zswap_frontswap_load() should be called from preemptible context (we even
call mutex_lock() there) and it does not look like we need to do
GFP_ATOMIC allocaion for temp buffer. The same applies to
zswap_writeback_entry().
Use GFP_KERNEL for temporary buffer allocation in both cases.
Link: https://lkml.kernel.org/r/Y3xCTr6ikbtcUr/[email protected]
Signed-off-by: Johannes Weiner <[email protected]>
Signed-off-by: Nhat Pham <[email protected]>
Signed-off-by: Sergey Senozhatsky <[email protected]>
Cc: Dan Streetman <[email protected]>
Cc: Minchan Kim <[email protected]>
Cc: Sergey Senozhatsky <[email protected]>
Cc: Vitaly Wool <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions