Hi! > > We put all but one cpu in tight loop in smp_pause, so that it can't > > interfere. That's enough for STD, but not for STR. > > I have an SMP powermac here that does STR quite nicely. The best > solution I found to dealing with the 2nd cpu is to use the hotplug cpu > framework and offline the cpu before starting the process of going to > sleep. (Offline means that the cpu is put into a deep sleep state > with interrupts disabled.) Then, after wakeup is complete, the 2nd > cpu is brought online again (by a soft reset). The point is that the > hotplug cpu framework exists and works, and all that I had to do was > provide the low-level routines to actually put the cpu into the deep > sleep state, and to reinitialize it once it had been reset. Well, for i386 those "low-level routines" are not really trivial, and I do not have smp machine near me :-(. So, if there's some volunteer... :-). [Intel should do it. It is their hyperthreading that makes it must-have]. Pavel -- People were complaining that M$ turns users into beta-testers... ...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!