Re:Pruning and Polishing: Keeping OpenBSD Modern
by legulere on Sunday March 15, 2015 @08:33AM
(#9206263)
> A second example are the simplelock locks once prevalent in the kernel. These locks, which were really macros which expanded to nothing, were introduced long before the kernel was actually capable of multiprocessor operation in a case of premature optimism. When SMP support was finally added, intervening code changes meant that many of the lock and unlock operations were incorrectly placed.
This is a good example for that code that is neither used nor tested is useless.
This is a good example for that code that is neither used nor tested is useless.