[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YBhL6LkWAAV0QEZL@google.com>
Date: Mon, 1 Feb 2021 10:43:52 -0800
From: Minchan Kim <minchan@...nel.org>
To: Georgi Djakov <georgi.djakov@...aro.org>
Cc: akpm@...ux-foundation.org, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mm/page_io: Use pr_alert_ratelimited for swap read/write
errors
On Mon, Feb 01, 2021 at 04:20:55PM +0200, Georgi Djakov wrote:
> 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.
>
> Signed-off-by: Georgi Djakov <georgi.djakov@...aro.org>
Acked-by: Minchan Kim <minchan@...nel.org>
Powered by blists - more mailing lists