Searched hist:a2cdc24e (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/arch/mips/kvm/ |
H A D | tlb.c | a2cdc24e Fri Apr 23 03:35:09 CDT 2021 zhouchuangao <zhouchuangao@vivo.com> mips/kvm: Use BUG_ON instead of if condition followed by BUG
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 <zhouchuangao@vivo.com> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
|