• Rusty Russell's avatar
    [PATCH] Hotplug CPUs: Other CPU_DEAD Notifiers · 279ce7b2
    Rusty Russell authored
    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.
    279ce7b2
page_alloc.c 44.7 KB