I was looking through the kernel config, and noticed under "optimize very unlikely/likely branches" there's a static key selftest option. The description mentions "Boot time self-test of the branch patching code" I'm not 100% sure what it does so I'm not going to turn it on. But, I'm guessing it tests the branches during bootup.
I couldn't find much describing what the option does online. Does anyone know if it speeds up boot times?