1. 17 Dec, 2008 2 commits
    • Mike Travis's avatar
      x86 smp: modify send_IPI_mask interface to accept cpumask_t pointers · e7986739
      Mike Travis authored
      Impact: cleanup, change parameter passing
      
        * Change genapic interfaces to accept cpumask_t pointers where possible.
      
        * Modify external callers to use cpumask_t pointers in function calls.
      
        * Create new send_IPI_mask_allbutself which is the same as the
          send_IPI_mask functions but removes smp_processor_id() from list.
          This removes another common need for a temporary cpumask_t variable.
      
        * Functions that used a temp cpumask_t variable for:
      
      	cpumask_t allbutme = cpu_online_map;
      
      	cpu_clear(smp_processor_id(), allbutme);
      	if (!cpus_empty(allbutme))
      		...
      
          become:
      
      	if (!cpus_equal(cpu_online_map, cpumask_of_cpu(cpu)))
      		...
      
        * Other minor code optimizations (like using cpus_clear instead of
          CPU_MASK_NONE, etc.)
      
      Applies to linux-2.6.tip/master.
      Signed-off-by: default avatarMike Travis <travis@sgi.com>
      Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
      Acked-by: default avatarIngo Molnar <mingo@elte.hu>
      e7986739
    • Mike Travis's avatar
      x86: enable MAXSMP · 36f5101a
      Mike Travis authored
      Impact: activates new off-stack cpumask code on MAXSMP (non-default) x86 configs
      
      Set MAXSMP to enable CONFIG_CPUMASK_OFFSTACK which moves cpumask's off
      the stack (and in structs) when using cpumask_var_t.
      Signed-off-by: default avatarMike Travis <travis@sgi.com>
      Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
      Acked-by: default avatarIngo Molnar <mingo@elte.hy>
      36f5101a
  2. 16 Dec, 2008 3 commits
  3. 13 Dec, 2008 14 commits
  4. 12 Dec, 2008 16 commits
  5. 11 Dec, 2008 4 commits
  6. 10 Dec, 2008 1 commit