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 | 23b230ba8ac30d334afd249c9763e0d0ca583e43 (patch) | |
| tree | 283854f4547ccd47707b531221215a089066f92a /tools/perf/scripts/python | |
| parent | bc4a68adb151f08b50822158c7767f5726346370 (diff) | |
mm/swap: print bad swap offset entry in get_swap_device
If offset exceeds the si->max, print bad swap offset entry to help debug
the unexpected case.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Miaohe Lin <[email protected]>
Reviewed-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