diff options
| author | Georgi Djakov <[email protected]> | 2021-02-24 12:03:01 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2021-02-24 13:38:29 -0800 |
| commit | 25eaab438dd58092c5f0c62118d933bf8b2fcc76 (patch) | |
| tree | 543837c32c051f5250b1beaccc1baa7b5555070c /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | cf532faa41c55ad39fcff211132c58b0acf35c62 (diff) | |
mm/page_io: use pr_alert_ratelimited for swap read/write errors
If there are errors during swap read or write, they can easily fill the
log buffer and remove any previous messages that might be useful for
debugging, especially on systems that rely for logging only on the kernel
ring-buffer.
For example, on a systems using zram as swap, we are more likely to see
any page allocation errors preceding the swap write errors if the alerts
are ratelimited.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Georgi Djakov <[email protected]>
Acked-by: Minchan Kim <[email protected]>
Reviewed-by: Miaohe Lin <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions