]> git.hungrycats.org Git - linux/commit
[PATCH] Hotplug CPUs: Other CPU_DEAD Notifiers
authorRusty Russell <rusty@rustcorp.com.au>
Fri, 19 Mar 2004 00:04:13 +0000 (16:04 -0800)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 19 Mar 2004 00:04:13 +0000 (16:04 -0800)
commit279ce7b25799360a650473ce5cd89b8103faf8f0
tree49a4930d9c28f80f41d6c29e34319a216f9a6174
parent9bd3badff4e7b97209961875014053d6a292af99
[PATCH] Hotplug CPUs: Other CPU_DEAD Notifiers

Various files keep per-cpu caches which need to be freed/moved when a
CPU goes down.  All under CONFIG_HOTPLUG_CPU ifdefs.

scsi.c: drain dead cpu's scsi_done_q onto this cpu.

buffer.c: brelse the bh_lrus queue for dead cpu.

timer.c: migrate timers from dead cpu, being careful of lock order vs
__mod_timer.

radix_tree.c: free dead cpu's radix_tree_preloads

page_alloc.c: empty dead cpu's nr_pagecache_local into nr_pagecache, and
free pages on cpu's local cache.

slab.c: stop reap_timer for dead cpu, adjust each cache's free limit, and
free each slab cache's per-cpu block.

swap.c: drain dead cpu's lru_add_pvecs into ours, and empty its committed_space
counter into global counter.

dev.c: drain device queues from dead cpu into this one.

flow.c: drain dead cpu's flow cache.
drivers/scsi/scsi.c
fs/buffer.c
kernel/timer.c
lib/radix-tree.c
mm/page_alloc.c
mm/slab.c
mm/swap.c
net/core/dev.c
net/core/flow.c