LWN.net Logo

CPU Hotplug update + fixes

From:  Zwane Mwaikambo <zwane@holomorphy.com>
To:  Rusty Russell <rusty@rustcorp.com.au>
Subject:  [PATCH][0/6] CPU Hotplug update + fixes
Date:  Mon, 3 Feb 2003 06:34:21 -0500 (EST)
Cc:  Linux Kernel <linux-kernel@vger.kernel.org>, Anton Blanchard <anton@samba.org>, "Randy.Dunlap" <rddunlap@osdl.org>, Andrew Morton <akpm@digeo.com>

Hi,
	These patches are in no way an attempt to push this for inclusion, 
but instead a bit of grunt work to keep it current. However i would 
very much so like see it included in mainline.

- sync against 2.5.59
- add additional cpu_online check in i386 cpu_up to differentiate
  between boot and runtime offlined/onlined cpus.
- fix cpu online show/store oops due to changes in struct device_attribute
- added CPU_DEAD case for mm/slab.c to fix memory leak (double allocation) and
  added stop_cpu_timer()
- added CPU_DEAD case for RCU, here we clear the cpu's rcu_data and kill its
  tasklet. Added rcu_offline_cpu()
- added CPU_DEAD case for fs/buffer.c (suggestion from Andrew Morton, bugs 
  from me)

Tested on a 4way i386 with cpu offline, online whilst doing make -j4 
bzImage. It is possible to induce what appear to be deadlocks but i am 
working through those as i go along. Rusty is there anything i can do to 
get this merged with what you currently have?

	Zwane
-- 
function.linuxpower.ca

-
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/

Copyright © 2003, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds