Messages in this thread | | | Date | Fri, 12 Oct 2007 11:23:39 +1000 | From | Paul Mackerras <> | Subject | Re: [PATCH 2/2] powerpc: Switch to generic WARN_ON()/BUG_ON() |
| |
Olof Johansson writes:
> Not using the ppc-specific WARN_ON/BUG_ON constructs actually saves about > 4K text on a ppc64_defconfig. The main reason seems to be that prepping > the arguments to the conditional trap instructions is more work than > just doing a compare and branch.
It might be more instructions but it takes fewer cycles, I would expect. Do you have the actual instruction sequences to compare?
Paul. - 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/
| |