3 ms·
> (a simple example that's not relevant anymore: an smp kernel is slower than a single core one) The main reason this example is not relevant anymore is the "a
by cesarb 7y ago
> (a simple example that's not relevant anymore: an smp kernel is slower than a single core one)
The main reason this example is not relevant anymore is the "alternatives" system Linux uses nowadays, which dynamically patches the kernel code according to the hardware features (in this case, it detects it's running on a single core and removes the SMP locking code).
- qubex 7y agoI remember reading in Inside Windows 2000 by Mark Russinovich & David Solomon that the non-SMP kernel was the exact same binary built from the exact same SMP-compliant code with all the SMP stuff NOP-ed out.