autosmp: improve hotplug algorithm