[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.LNX.2.00.1501202010290.10817@pobox.suse.cz>
Date: Tue, 20 Jan 2015 20:11:54 +0100 (CET)
From: Jiri Kosina <jkosina@...e.cz>
To: Josh Poimboeuf <jpoimboe@...hat.com>
cc: Jiri Slaby <jslaby@...e.cz>, Seth Jennings <sjenning@...hat.com>,
Vojtech Pavlik <vojtech@...e.cz>,
live-patching@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 2/2] livepatch: support for repatching a function
On Tue, 20 Jan 2015, Josh Poimboeuf wrote:
> Yeah, maybe, depending on the nature of the bug.
>
> > WARN_ON_RATELIMIT?
>
> Since this warning should never happen unless there's a code bug, I
> think WARN_ON_ONCE should be sufficient?
Yeah. The stacktrace is likely not to point to the source of the problem
anyway, so spamming dmesg with it is rather pointless.
I've changed WARN_ON() in ftrace handler to WARN_ON_ONCE() and applied.
Thanks,
--
Jiri Kosina
SUSE Labs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists