]> git.hungrycats.org Git - linux/commit
[PATCH] ppc64 gives up too quickly on hotplugged cpu
authorAndrew Morton <akpm@osdl.org>
Thu, 3 Jun 2004 00:58:47 +0000 (17:58 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 3 Jun 2004 00:58:47 +0000 (17:58 -0700)
commit1df9796b35c9d4fdb9b0a724d05c41a8962ff393
treec9581b1966ea4e759afafb95c4c61e8ee5e84faf
parent0c2aaf205b1aba1f2376fc100daedb3e64c2ba35
[PATCH] ppc64 gives up too quickly on hotplugged cpu

From: Nathan Lynch <nathanl@austin.ibm.com>

On some systems it can take a hotplugged cpu much longer to come up than it
would at boot.  If the cpu comes up after we've given up on it, it tends to
die in its first attempt to kmem_cache_alloc (uninitialized percpu data, I
imagine).

In my experimentation I haven't seen a processor take more than one second
to become available; the patch waits five seconds just to be safe.

Signed-off-by: Nathan Lynch <nathanl@austin.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/ppc64/kernel/smp.c