1. 09 Mar, 2004 32 commits
  2. 08 Mar, 2004 8 commits
    • Richard Henderson's avatar
      Merge. · 4ab28652
      Richard Henderson authored
      4ab28652
    • Rusty Russell's avatar
      [PATCH] Clean up hotplug slab some more · c5d9af3e
      Rusty Russell authored
      This is a cleaner fix for the previous bogon fix.
      c5d9af3e
    • Linus Torvalds's avatar
      3d32d5d0
    • Rusty Russell's avatar
      [PATCH] minor slab cleanups for hotplug CPUs · bd7c5d21
      Rusty Russell authored
      - Move free_block prototype, and ac_entry and ac_data functions up in file.
      
      - Use list_for_each_entry in cpuup_callback.
      
      - Remove unneccessary g_cpucache_up in cpuup_callback.
      
      - Make reap_timer_func take CPU number as data, and check if that is
        offline before rescheduing (noop without CONFIG_HOTPLUG_CPU).
      bd7c5d21
    • Rusty Russell's avatar
      [PATCH] remove sparc64's num_possible_cpus() · 9f989ac8
      Rusty Russell authored
      Levent Serinol <levent.serinol@mynet.com> found that the hotplug cpu
      patch broke Sparc64.  I introduced a num_possible_cpus(), which
      Sparc64 already has.  Remove the Sparc64 one.
      
      I also removed Sparc64's cpu_online() macro: it's in linux/cpumask.h
      already.
      9f989ac8
    • Rusty Russell's avatar
      [PATCH] minor cleanups for hotplug CPUs · a59d2e4e
      Rusty Russell authored
      Note that without CONFIG_HOTPLUG_CPU, online cpus == possible cpus, so
      substitutions are a noop.
      
      - Changes show_stat to print out stats for every possible cpu, not
        just online CPUs.
      
      - Allocate mem in stat_open on possible, not online_cpus.
      
      - Add conventient macros to cpu.h: especially cpu_is_offline() for
        testing if a cpu is still online.
      
      - Add a num_possible_cpus() similar to num_online_cpus(), and define
        cpu_possible_mask for UP.
      
      - Allow printk on down cpus once system is running.
      
      - Mask cpumask with possible, not online cpus, for sys_getaffinity().
      a59d2e4e
    • Rusty Russell's avatar
      [PATCH] introduce __drain_pages() to take a CPU number · 33a7ddaa
      Rusty Russell authored
      Extracts core of drain_pages() for hotcpu use.  Trivial.
      
      Hotplug CPU needs to drain pages on a downed CPU (usually it's the
      current cpu).  Introduce "__drain_pages", make the CPU an argument,
      and expose it if CONFIG_HOTPLUG_CPU as well as CONFIG_PM.
      33a7ddaa
    • Linus Torvalds's avatar
      Merge bk://kernel.bkbits.net/jgarzik/via-crypto-2.5 · 409f3569
      Linus Torvalds authored
      into ppc970.osdl.org:/home/torvalds/v2.5/linux
      409f3569