Re: [ANNOUNCE] HotPlug CPU patch against 2.5.0

From: Pavel Machek (pavel@suse.cz)
Date: Sat Dec 22 2001 - 11:05:52 EST


Hi!

> > From: Pavel Machek [mailto:pavel@suse.cz]
> > > This patch works on s390, s390x, x86 and ia64 architectures.
> > > It can also be applied against 2.4.16 with a little modification.
> > >
> > > Down CPU
> > > echo 0 > /proc/sys/kernel/cpu/<id>/online
> > >
> > > Up CPU
> > > echo 1 > /proc/sys/kernel/cpu/<id>/online
> >
> > Such patches are neccessary for ACPI S3/S4 sleep support. It
> > would be nice to
> > apply them soon.
>
> They are???

If you are going to S4 sleep, you should better make sure no other
processors are changing stuff under your hands. Easiest way to do that
is by putting them offline (I see no other good solutions). For S3
having to save state of one CPU is bad enough, having to save state of
8 would be bad, so putting them offline would be handy, too.
                                                                Pavel

-- 
"I do not steal MS software. It is not worth it."
                                -- Pavel Kankovsky
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Dec 23 2001 - 21:00:28 EST