public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Hotplug CPUs for i386 2.5.44
@ 2002-10-28  8:04 Rusty Russell
  2002-01-15 19:34 ` Pavel Machek
  2002-10-29 19:34 ` Matthew Dobson
  0 siblings, 2 replies; 3+ messages in thread
From: Rusty Russell @ 2002-10-28  8:04 UTC (permalink / raw)
  To: linux-kernel; +Cc: akpm, mingo, mochel

Doesn't apply to -mm5 because someone did wierd things with the CPU
placement in driverfs, which clashes with this patch which moves it to
kernel/cpu.c...

Usage:
1) Apply patch, and boot resulting kernel.
2) echo 0 > /devices/root/sys/cpu0/online
3) echo 1 > /devices/root/sys/cpu0/online

The CPU actually spins with interrupts off, doing cpu_relax() and
polling a variable.  It's basically useful for testing the unplug
infrastructure and benchmarking.

http://www.kernel.org/pub/linux/kernel/people/rusty/patches/hotcpu-x86-28-10-2002.2.5.44.diff.gz

Cheers!
Rusty.
--
  Anyone who quotes me in their sig is an idiot. -- Rusty Russell.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-11-08 21:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-28  8:04 [PATCH] Hotplug CPUs for i386 2.5.44 Rusty Russell
2002-01-15 19:34 ` Pavel Machek
2002-10-29 19:34 ` Matthew Dobson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox