Home
last modified time | relevance | path

Searched hist:a2cdc24e20573cf719f3171071368f4f7781d970 (Results 1 – 1 of 1) sorted by relevance

/linux/arch/mips/kvm/
H A Dtlb.cdiff a2cdc24e20573cf719f3171071368f4f7781d970 Fri Apr 23 10:35:09 CEST 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>