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: Ingo Molnar
Date: Thursday, April 15, 2010 - 12:32 am

* David Miller <davem@davemloft.net> wrote:


It trades robustness for slightly better space/code efficiency.

Such a trap based mechanism exists on x86 as well and we use it for BUG_ON(). 
We intentionally dont use it to generate warnings and dont override __WARN(), 
because it would blow up way too often when a warning triggers in some 
sensitive codepath that cannot take a trap.

Anyway, the warning obviously has to be fixed - but the boot crash itself is 
PowerPC's own doing.

	Ingo
--
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 ..., Ingo Molnar, (Thu Apr 15, 12:32 am)
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)