Re: [PATCH v3] kcov: don't generate a warning on vm_insert_page()'s failure

From: Andrew Morton
Date: Thu Apr 14 2022 - 17:25:29 EST


On Fri, 1 Apr 2022 18:25:12 +0000 Aleksandr Nogikh <nogikh@xxxxxxxxxx> wrote:

> vm_insert_page()'s failure is not an unexpected condition, so don't do
> WARN_ONCE() in such a case.
>
> Instead, print a kernel message and just return an error code.

(hm, I thought I asked this before but I can't find it)

Under what circumstances will this failure occur?

Why do we emit a message at all? What action can the user take upon
seeing the message?

Do we have a Fixes: for this?

>From the info provided thus far I'm unable to determine whether a
-stable backport is needed. What are your thoughts on this?