public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] cpu hotplug fix
@ 2004-03-20  6:36 Anton Blanchard
  2004-03-20  7:40 ` Christoph Hellwig
  0 siblings, 1 reply; 5+ messages in thread
From: Anton Blanchard @ 2004-03-20  6:36 UTC (permalink / raw)
  To: akpm; +Cc: rusty, linux-kernel


start_cpu_timer was changed to __init a few hours before the cpu hotplug
patches went in. With cpu hotplug it can be called at any time, so fix
this.

Anton

===== slab.c 1.125 vs edited =====
--- 1.125/mm/slab.c	Wed Mar 17 13:10:10 2004
+++ edited/slab.c	Sat Mar 20 17:34:57 2004
@@ -576,7 +576,7 @@
  * Add the CPU number into the expiry time to minimize the possibility of the
  * CPUs getting into lockstep and contending for the global cache chain lock.
  */
-static void __init start_cpu_timer(int cpu)
+static void start_cpu_timer(int cpu)
 {
 	struct timer_list *rt = &per_cpu(reap_timers, cpu);
 

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

end of thread, other threads:[~2004-03-22  6:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-20  6:36 [PATCH] cpu hotplug fix Anton Blanchard
2004-03-20  7:40 ` Christoph Hellwig
2004-03-20 10:59   ` Rusty Russell
2004-03-20 23:12     ` Andrew Morton
2004-03-22  6:36       ` Rusty Russell

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