diff options
| author | Miaohe Lin <[email protected]> | 2022-05-19 14:08:51 -0700 |
|---|---|---|
| committer | akpm <[email protected]> | 2022-05-19 14:08:51 -0700 |
| commit | f19c25684c3e19b329e0498dd6d601df13c33223 (patch) | |
| tree | 0c371bdf09f8f3aedddf55216d947e055cfe263a /tools/perf/scripts/python | |
| parent | 23b230ba8ac30d334afd249c9763e0d0ca583e43 (diff) | |
mm/swap: remove buggy cache->nr check in refill_swap_slots_cache
refill_swap_slots_cache is always called when cache->nr is 0. So remove
such buggy and confusing check.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Miaohe Lin <[email protected]>
Acked-by: David Hildenbrand <[email protected]>
Reviewed-by: Oscar Salvador <[email protected]>
Cc: Alistair Popple <[email protected]>
Cc: David Howells <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Cc: Naoya Horiguchi <[email protected]>
Cc: NeilBrown <[email protected]>
Cc: Peter Xu <[email protected]>
Cc: Suren Baghdasaryan <[email protected]>
Cc: Vlastimil Babka <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions