Re: linux-next: PowerPC WARN_ON_ONCE() after merge of the final tree (tip related)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: David Miller
Date: Wednesday, April 14, 2010 - 11:55 pm

From: Ingo Molnar <mingo@elte.hu>
Date: Thu, 15 Apr 2010 08:49:40 +0200


I disagree, an implementation should be allowed to use the most
efficient implementation possible for both interfaces.

I would be using traps for both on sparc64 if that were really
feasible on sparc64 (and actually with gcc-4.5's "asm goto" it might
actually be now)

The WARN and BUG macros, when implemented without traps, have serious
implications for overall code size and register pressure.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
linux-next: boot failure after merge of the final tree (ti ..., Stephen Rothwell, (Wed Apr 14, 11:12 pm)
Re: linux-next: boot failure after merge of the final tree ..., Benjamin Herrenschmidt, (Wed Apr 14, 11:48 pm)
Re: linux-next: PowerPC WARN_ON_ONCE() after merge of the ..., David Miller, (Wed Apr 14, 11:55 pm)
Re: linux-next: PowerPC WARN_ON_ONCE() after merge of the ..., Stephen Rothwell, (Thu Apr 15, 3:04 am)
Re: linux-next: PowerPC WARN_ON_ONCE() after merge of the ..., Frederic Weisbecker, (Thu Apr 15, 6:00 am)
[PATCH] lockdep: Fix redundant_hardirqs_on incremented wit ..., Frederic Weisbecker, (Thu Apr 15, 6:37 am)
Re: linux-next: PowerPC WARN_ON_ONCE() after merge of the ..., Frederic Weisbecker, (Thu Apr 15, 10:15 am)
Re: linux-next: PowerPC WARN_ON_ONCE() after merge of the ..., Frederic Weisbecker, (Thu Apr 15, 10:24 am)
Re: linux-next: PowerPC WARN_ON_ONCE() after merge of the ..., Benjamin Herrenschmidt, (Thu Apr 15, 6:51 pm)
Re: linux-next: PowerPC WARN_ON_ONCE() after merge of the ..., Benjamin Herrenschmidt, (Thu Apr 15, 6:56 pm)
Re: linux-next: PowerPC WARN_ON_ONCE() after merge of the ..., Frederic Weisbecker, (Fri Apr 16, 5:32 am)
Re: [PATCH] lockdep: Fix redundant_hardirqs_on incremented ..., Stephen Rothwell, (Tue Apr 27, 12:32 am)
Re: [PATCH] lockdep: Fix redundant_hardirqs_on incremented ..., Frederic Weisbecker, (Tue Apr 27, 11:07 am)
Re: [PATCH] lockdep: Fix redundant_hardirqs_on incremented ..., Stephen Rothwell, (Wed Apr 28, 12:12 am)