1. 20 10月, 2007 1 次提交
  2. 17 10月, 2007 1 次提交
    • M
      x86: Convert cpu_core_map to be a per cpu variable · 08357611
      Mike Travis 提交于
      This is from an earlier message from 'Christoph Lameter':
      
          cpu_core_map is currently an array defined using NR_CPUS. This means that
          we overallocate since we will rarely really use maximum configured cpu.
      
          If we put the cpu_core_map into the per cpu area then it will be allocated
          for each processor as it comes online.
      
          This means that the core map cannot be accessed until the per cpu area
          has been allocated. Xen does a weird thing here looping over all processors
          and zeroing the masks that are not yet allocated and that will be zeroed
          when they are allocated. I commented the code out.
      Signed-off-by: NChristoph Lameter <clameter@sgi.com>
      Signed-off-by: NMike Travis <travis@sgi.com>
      Cc: Andi Kleen <ak@suse.de>
      Cc: Christoph Lameter <clameter@sgi.com>
      Cc: "Siddha, Suresh B" <suresh.b.siddha@intel.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      08357611
  3. 11 10月, 2007 1 次提交
  4. 05 10月, 2007 3 次提交
  5. 14 7月, 2007 1 次提交
  6. 13 7月, 2007 2 次提交
  7. 19 5月, 2007 1 次提交
  8. 15 5月, 2007 1 次提交
  9. 13 5月, 2007 1 次提交
  10. 01 5月, 2007 1 次提交
  11. 27 2月, 2007 1 次提交
  12. 23 2月, 2007 1 次提交
  13. 04 2月, 2007 1 次提交
  14. 22 6月, 2006 1 次提交
  15. 20 6月, 2006 2 次提交
  16. 05 6月, 2006 1 次提交
  17. 31 5月, 2006 2 次提交
  18. 19 4月, 2006 2 次提交
  19. 11 4月, 2006 2 次提交
  20. 10 4月, 2006 2 次提交
  21. 28 3月, 2006 1 次提交
  22. 27 3月, 2006 1 次提交
  23. 26 3月, 2006 1 次提交
  24. 24 3月, 2006 1 次提交
  25. 23 3月, 2006 1 次提交
    • A
      [PATCH] more for_each_cpu() conversions · 394e3902
      Andrew Morton 提交于
      When we stop allocating percpu memory for not-possible CPUs we must not touch
      the percpu data for not-possible CPUs at all.  The correct way of doing this
      is to test cpu_possible() or to use for_each_cpu().
      
      This patch is a kernel-wide sweep of all instances of NR_CPUS.  I found very
      few instances of this bug, if any.  But the patch converts lots of open-coded
      test to use the preferred helper macros.
      
      Cc: Mikael Starvik <starvik@axis.com>
      Cc: David Howells <dhowells@redhat.com>
      Acked-by: NKyle McMartin <kyle@parisc-linux.org>
      Cc: Anton Blanchard <anton@samba.org>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
      Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
      Cc: Paul Mundt <lethal@linux-sh.org>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: William Lee Irwin III <wli@holomorphy.com>
      Cc: Andi Kleen <ak@muc.de>
      Cc: Christian Zankel <chris@zankel.net>
      Cc: Philippe Elie <phil.el@wanadoo.fr>
      Cc: Nathan Scott <nathans@sgi.com>
      Cc: Jens Axboe <axboe@suse.de>
      Cc: Eric Dumazet <dada1@cosmosbay.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      394e3902
  26. 05 3月, 2006 1 次提交
  27. 28 2月, 2006 2 次提交
  28. 17 1月, 2006 1 次提交
  29. 07 12月, 2005 1 次提交
  30. 01 12月, 2005 1 次提交
  31. 30 11月, 2005 1 次提交