aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorGravatar Sergey Senozhatsky <senozhatsky@chromium.org> 2022-11-22 12:30:22 +0900
committerGravatar Andrew Morton <akpm@linux-foundation.org> 2022-11-30 15:59:07 -0800
commit8d9b63708ddd1ac51e0260c7b8f641daf01f4caf (patch)
tree5b556095bef64db52c2a43904500cedf3e94153d /tools
parentdocumentation/mm: update pmd_present() in arch_pgtable_helpers.rst (diff)
downloadlinux-8d9b63708ddd1ac51e0260c7b8f641daf01f4caf.tar.gz
linux-8d9b63708ddd1ac51e0260c7b8f641daf01f4caf.tar.bz2
linux-8d9b63708ddd1ac51e0260c7b8f641daf01f4caf.zip
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/y@google.com Signed-off-by: Johannes Weiner <hannes@cmpxchg.org> Signed-off-by: Nhat Pham <nphamcs@gmail.com> Signed-off-by: Sergey Senozhatsky <senozhatsky@chromium.org> Cc: Dan Streetman <ddstreet@ieee.org> Cc: Minchan Kim <minchan@kernel.org> Cc: Sergey Senozhatsky <senozhatsky@chromium.org> Cc: Vitaly Wool <vitaly.wool@konsulko.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions