Re: [PATCH][RFC] getting rid of stupid loop in BUG()

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jeremy Fitzhardinge
Date: Wednesday, July 25, 2007 - 10:36 am

Al Viro wrote:

I tried that, but there's still no way of getting a pointer to the ud2a
instruction in there.  gcc just generates garbage if you try to use use
the &&label syntax on a label which isn't (potentially) the target of a
goto (it just gets placed somewhere random).

But there's a bigger problem than that.  If the BUG is in code which can
be replicated (ie inlined or unrolled), then it would also require
replicating the static variable...

    J
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH][RFC] getting rid of stupid loop in BUG(), Al Viro, (Tue Jul 24, 8:39 am)
Re: [PATCH][RFC] getting rid of stupid loop in BUG(), Jeremy Fitzhardinge, (Tue Jul 24, 9:56 am)
Re: [PATCH][RFC] getting rid of stupid loop in BUG(), H. Peter Anvin, (Tue Jul 24, 10:03 am)
Re: [PATCH][RFC] getting rid of stupid loop in BUG(), H. Peter Anvin, (Tue Jul 24, 10:28 am)
Re: [PATCH][RFC] getting rid of stupid loop in BUG(), Jeremy Fitzhardinge, (Tue Jul 24, 11:58 am)
Re: [PATCH][RFC] getting rid of stupid loop in BUG(), H. Peter Anvin, (Tue Jul 24, 12:01 pm)
Re: [PATCH][RFC] getting rid of stupid loop in BUG(), Jeremy Fitzhardinge, (Tue Jul 24, 12:13 pm)
Re: [PATCH][RFC] getting rid of stupid loop in BUG(), Jeremy Fitzhardinge, (Tue Jul 24, 2:14 pm)
Re: [PATCH][RFC] getting rid of stupid loop in BUG(), Trent Piepho, (Tue Jul 24, 7:31 pm)
Re: [PATCH][RFC] getting rid of stupid loop in BUG() , Keith Owens, (Tue Jul 24, 7:50 pm)
Re: [PATCH][RFC] getting rid of stupid loop in BUG(), H. Peter Anvin, (Tue Jul 24, 10:09 pm)
Re: [PATCH][RFC] getting rid of stupid loop in BUG(), Jeremy Fitzhardinge, (Tue Jul 24, 11:24 pm)
Re: [PATCH][RFC] getting rid of stupid loop in BUG(), David Miller, (Tue Jul 24, 11:29 pm)
Re: [PATCH][RFC] getting rid of stupid loop in BUG(), Heiko Carstens, (Tue Jul 24, 11:50 pm)
Re: [PATCH][RFC] getting rid of stupid loop in BUG(), Linus Torvalds, (Wed Jul 25, 9:56 am)
Re: [PATCH][RFC] getting rid of stupid loop in BUG(), Jeremy Fitzhardinge, (Wed Jul 25, 10:00 am)
Re: [PATCH][RFC] getting rid of stupid loop in BUG(), H. Peter Anvin, (Wed Jul 25, 10:03 am)
Re: [PATCH][RFC] getting rid of stupid loop in BUG(), Linus Torvalds, (Wed Jul 25, 10:19 am)
Re: [PATCH][RFC] getting rid of stupid loop in BUG(), H. Peter Anvin, (Wed Jul 25, 10:22 am)
Re: [PATCH][RFC] getting rid of stupid loop in BUG(), David Howells, (Wed Jul 25, 10:35 am)
Re: [PATCH][RFC] getting rid of stupid loop in BUG(), Jeremy Fitzhardinge, (Wed Jul 25, 10:36 am)
Re: [PATCH][RFC] getting rid of stupid loop in BUG(), Jeremy Fitzhardinge, (Wed Jul 25, 10:41 am)
Re: [PATCH][RFC] getting rid of stupid loop in BUG(), Jeremy Fitzhardinge, (Wed Jul 25, 10:44 am)
Re: [PATCH][RFC] getting rid of stupid loop in BUG(), Linus Torvalds, (Wed Jul 25, 11:24 am)
Re: [PATCH][RFC] getting rid of stupid loop in BUG(), David Miller, (Wed Jul 25, 12:28 pm)
Re: [PATCH][RFC] getting rid of stupid loop in BUG(), David Miller, (Wed Jul 25, 12:35 pm)
Re: [PATCH][RFC] getting rid of stupid loop in BUG(), H. Peter Anvin, (Wed Jul 25, 1:26 pm)
Re: [PATCH][RFC] getting rid of stupid loop in BUG(), Chuck Ebbert, (Wed Jul 25, 1:29 pm)
Re: [PATCH][RFC] getting rid of stupid loop in BUG(), H. Peter Anvin, (Wed Jul 25, 1:37 pm)
Re: [PATCH][RFC] getting rid of stupid loop in BUG(), David Miller, (Wed Jul 25, 3:01 pm)