Re: Removing Mandatory Locks
From: Linus Torvalds
Date: Thu Aug 19 2021 - 18:39:03 EST
On Thu, Aug 19, 2021 at 2:43 PM Jeff Layton <jlayton@xxxxxxxxxx> wrote:
>
> What sort of big, ugly warning did you have in mind?
I originally thought WARN_ON_ONCE() just to get the distro automatic
error handling involved, but it would probably be a big problem for
the people who end up having panic-on-warn or something.
So probably just a "make it a big box" thing that stands out, kind of
what lockdep etc does with
pr_warn("======...====\n");
around the messages..
I don't know if distros have some pattern we could use that would end
up being something that gets reported to the user?
Linus