Thread (3 messages) 3 messages, 3 authors, 2021-04-26

Re: [PATCH] MIPS: BCM63XX: Use BUG_ON instead of condition followed by BUG.

From: Florian Fainelli <f.fainelli@gmail.com>
Date: 2021-04-25 01:03:49
Also in: linux-mips, lkml


On 4/24/2021 8:59 AM, zhouchuangao wrote:
BUG_ON uses unlikely in if(), it can be optimized at compile time.

Usually, the condition in if() is not satisfied. In my opinion,
this can improve the efficiency of the multi-stage pipeline.

Signed-off-by: zhouchuangao <redacted>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
-- 
Florian

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help