diff options
author | Hugh Dickins <[email protected]> | 2022-05-21 19:53:04 -0700 |
---|---|---|
committer | akpm <[email protected]> | 2022-05-25 10:47:47 -0700 |
commit | e384200e70664cd690cdadb72b2a1bc9dfcdec1a (patch) | |
tree | ac6e344668f89e63d722e1a0b3798011dc0f800f /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | 7fb6378701dc0d8f19c1ac4623b55f5125f0e286 (diff) |
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/[email protected]
Fixes: da08e9b79323 ("mm/shmem: convert shmem_swapin_page() to shmem_swapin_folio()")
Signed-off-by: Hugh Dickins <[email protected]>
Reviewed-by: Miaohe Lin <[email protected]>
Tested-by: Miaohe Lin <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions