Carl-Daniel Hailfinger wrote:
Interesting point of view. As long as we're allowed to make locking on pure uniprocessor architectures a no-op, I'm totally for it.
The thing is, without those defines, figuring out whether we're SMP or not is more complex than doing the actual locking. So we might as well do the locking unconditionally, too.