Messages in this thread | | | Subject | Re: PATCH: Fix crash case | From | Andi Kleen <> | Date | 18 Aug 2006 11:51:39 +0200 |
| |
Jan Engelhardt <jengelh@linux01.gwdg.de> writes:
> >If we are going to BUG() not panic() here then we should cover the case > >of the BUG being compiled out > > Bug can be compiled out? Ah well I much rather like this patch because of > the previous busy-looping, heating CPUs unnecessarily. (There was a thread, > about that, too.)
cpu_relax() is on most CPUs as busy as a ";". This often annoys me too (in particular in panic) when the CPU fans spin up and machines become noisy. Maybe we need a portable halt() macro.
-Andi - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |