Posted Dec 16, 2005 17:38 UTC (Fri) by norsk
Parent article: SMP alternatives
Back in 1998, while working at Novell on the Netware SMP project, I did the same thing on self-modifying kernel mods. The kernel was built in SMP mode and when installed on a UP system, all the "lock" instructions, SMP and atomics called their respective init routines to determine whether UP or SMP and applied the correct op-codes. Gave us 2-5% improvement and a major cost in shipping of different kernels.
I like the idea of reversing the mods when a CPU hotplug event occurs. Hardware at my time did not have the feature set.
I was wondering why this had not yet happened before in Linux. Still a far better world to work in, then the Netware kernel.
doug "norsk" thompson
to post comments)