summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorHugh Dickins <hughd@google.com>2022-05-22 05:53:04 +0300
committerakpm <akpm@linux-foundation.org>2022-05-25 20:47:47 +0300
commite384200e70664cd690cdadb72b2a1bc9dfcdec1a (patch)
treeac6e344668f89e63d722e1a0b3798011dc0f800f /scripts/gdb/linux/utils.py
parent7fb6378701dc0d8f19c1ac4623b55f5125f0e286 (diff)
downloadlinux-e384200e70664cd690cdadb72b2a1bc9dfcdec1a.tar.xz
mm/shmem: fix shmem folio swapoff hang
Shmem swapoff makes no progress: the index to indices is not incremented. But "ret" is no longer a return value, so use folio_batch_count() instead. Link: https://lkml.kernel.org/r/c32bee8a-f0aa-245-f94e-24dd271924fa@google.com Fixes: da08e9b79323 ("mm/shmem: convert shmem_swapin_page() to shmem_swapin_folio()") Signed-off-by: Hugh Dickins <hughd@google.com> Reviewed-by: Miaohe Lin <linmiaohe@huawei.com> Tested-by: Miaohe Lin <linmiaohe@huawei.com> Cc: Matthew Wilcox <willy@infradead.org> Cc: Christoph Hellwig <hch@lst.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions