3 ms·
As I understand it, there is likely to be a performance decrease when executing indirect branches within the kernel.
by duskwuff 3y ago
As I understand it, there is likely to be a performance decrease when executing indirect branches within the kernel.
- mjevans 3y agoMy understanding (which could be incorrect) is that the single return location clobbers the branch predictor's leaked data with static and (attack) worthless data without completely clearing the rest of the prediction cache.
- duskwuff 3y agoRight, which means the CPU can't effectively predict indirect branches (like calls through function pointers, or certain types of switch statements).