1. 19 3月, 2009 2 次提交
    • S
      numa, cpumask: move numa_node_id default implementation to topology.h, fix · 17ad6ea6
      Stephen Rothwell 提交于
      Impact: build fix for powerpc and sparc
      
      Today's linux-next build (powerpc allyesconfig) failed like this:
      
      > In file included from include/linux/mmzone.h:776,
      >                  from include/linux/gfp.h:5,
      >                  from include/linux/kmod.h:23,
      >                  from include/linux/module.h:14,
      >                  from init/version.c:11:
      > arch/powerpc/include/asm/mmzone.h:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'numa_cpumask_lookup_table'
      
      Caused by commit 082edb7b ("numa,
      cpumask: move numa_node_id default implementation to topology.h") from
      the cpus4096 tree which removed the include of linux/topology.h from
      linux/mmzone.h.
      
      Same for sparc64 defconfig.
      Signed-off-by: NStephen Rothwell <sfr@canb.auug.org.au>
      Acked-b: Rusty Russell <rusty@rustcorp.com.au>
      Cc: ppc-dev <linuxppc-dev@ozlabs.org>
      LKML-Reference: <20090319220322.3baa4613.sfr@canb.auug.org.au>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      17ad6ea6
    • R
      cpumask: remove cpumask allocation from idle_balance · df7c8e84
      Rusty Russell 提交于
      Impact: fix circular locking
      
      Steven reports a circular locking from alloc_cpumask_var doing
      a wakeup. We get rid of this using the tried-and-true technique
      of using a per-cpu cpumask_var_t rather than doing an alloc
      every time.
      
      Simpler and more robust than a rare, implicit allocation within
      an atomic codepath.
      Reported-by: NSteven Rostedt <rostedt@goodmis.org>
      Signed-off-by: NRusty Russell <rusty@rustcorp.com.au>
      LKML-Reference: <alpine.DEB.2.00.0903181729360.31583@gandalf.stny.rr.com>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      df7c8e84
  2. 18 3月, 2009 5 次提交
  3. 13 3月, 2009 33 次提交