> Yep, extending alternatives is probably better than duplicating the > code. Maybe having some alternative_smp() macro which places both code > versions into the .altinstr_replacement table? If that sounds ok I'll > try to come up with a experimental patch. i.e. something like this (as basic idea, patch is far away from doing anything useful ...)? Gerd