From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754975Ab1JGVs6 (ORCPT ); Fri, 7 Oct 2011 17:48:58 -0400 Received: from terminus.zytor.com ([198.137.202.10]:59496 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753217Ab1JGVs5 (ORCPT ); Fri, 7 Oct 2011 17:48:57 -0400 Message-ID: <4E8F73A3.5080904@zytor.com> Date: Fri, 07 Oct 2011 14:48:19 -0700 From: "H. Peter Anvin" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0) Gecko/20110927 Thunderbird/7.0 MIME-Version: 1.0 To: Steven Rostedt CC: Jason Baron , Jeremy Fitzhardinge , Richard Henderson , "David S. Miller" , David Daney , Michael Ellerman , Jan Glauber , the arch/x86 maintainers , Xen Devel , Linux Kernel Mailing List , Jeremy Fitzhardinge , peterz@infradead.org Subject: Re: [PATCH][RFC] jump_labels/x86: Use either 5 byte or 2 byte jumps References: <4E8CF385.2080804@zytor.com> <4E8DEB19.1050509@goop.org> <20111006181055.GA2505@redhat.com> <1317925615.4729.14.camel@gandalf.stny.rr.com> <4E8DF870.6010000@redhat.com> <1317929321.4729.17.camel@gandalf.stny.rr.com> <4E8E20CD.5030207@goop.org> <1317938775.4729.29.camel@gandalf.stny.rr.com> <4E8E275F.6010801@goop.org> <1318007374.4729.58.camel@gandalf.stny.rr.com> <20111007185214.GD2978@redhat.com> <1318015311.4729.69.camel@gandalf.stny.rr.com> In-Reply-To: <1318015311.4729.69.camel@gandalf.stny.rr.com> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/07/2011 12:21 PM, Steven Rostedt wrote: >> >> same here, at least WARN, more likely BUG() > > I just don't like using BUG(). BUG() means that if we continue we will > corrupt the filesystem or make you go blind. WARN and returning here > should not cause any harm and will even let those with X terminals see > oops in /var/log/messages. > Uh, NO. If this is wrong something in the kernel code stream is corrupted (heck, you might just have caught a rootkit!) Die. NOW. -hpa