On Fri, Jul 13, 2018 at 11:49:33PM +0200, Kamil Rytarowski wrote: > #ifdefing it out in a non-benchmarking application (I was checking ones > that do something with syscalls) is more negligible than 0,3% of > overhead in the kernel in a loop.
My vote is on #ifdef by a default-off kernel option as well. Next step: optimize the switch, but that is no priority then. Can't we use pcu(9) for that? Martin