1. 17 4月, 2008 1 次提交
  2. 20 10月, 2007 1 次提交
    • M
      x86: convert cpu_to_apicid to be a per cpu variable · 71fff5e6
      Mike Travis 提交于
      This patch converts the x86_cpu_to_apicid array to be a per cpu
      variable. This saves sizeof(apicid) * NR unused cpus.  Access is mostly
      from startup and CPU HOTPLUG functions.
      
      MP_processor_info() is one of the functions that require access to the
      x86_cpu_to_apicid array before the per_cpu data area is setup.  For this
      case, a pointer to the __initdata array is initialized in setup_arch()
      and removed in smp_prepare_cpus() after the per_cpu data area is
      initialized.
      
      A second change is included to change the initial array value of ARCH
      i386 from 0xff to BAD_APICID to be consistent with ARCH x86_64.
      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: NIngo Molnar <mingo@elte.hu>
      Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
      71fff5e6
  3. 18 10月, 2007 1 次提交
  4. 11 10月, 2007 2 次提交
  5. 03 5月, 2007 3 次提交
  6. 22 10月, 2006 1 次提交
    • E
      [PATCH] x86-64: Put more than one cpu in TARGET_CPUS · 84f404f6
      Eric W. Biederman 提交于
      TARGET_CPUS is the default irq routing poicy.  It specifies which cpus the
      kernel should aim an irq at.  In physflat delivery mode we can route an irq to
      a single cpu.  But that doesn't mean our default policy should only be a
      single cpu is allowed.
      
      By allowing the irq routing code to select from multiple cpus this enables
      systems with more irqs then we can service on a single processor to actually
      work.
      
      I just audited and tested the code and irqbalance doesn't care, and the
      io_apic.c doesn't care if we have extra cpus in the mask.  Everything will use
      or assume we are using the lowest numbered cpu in the mask if we can't use
      them all.
      
      So this should result in no behavior changes except on systems that need it.
      
      Thanks for YH Lu for spotting this problem in his testing.
      
      Cc: Yinghai Lu <yinghai.lu@amd.com>
      Signed-off-by: NEric W. Biederman <ebiederm@xmission.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NAndi Kleen <ak@suse.de>
      84f404f6
  7. 09 10月, 2006 1 次提交
    • E
      [PATCH] x86_64 irq: Allocate a vector across all cpus for genapic_flat. · c7111c13
      Eric W. Biederman 提交于
      The problem we can't take advantage of lowest priority delivery mode if
      the vectors are allocated for only one cpu at a time.  Nor can we work
      around hardware that assumes lowest priority delivery mode is always
      used with several cpus.
      
      So this patch introduces the concept of a vector_allocation_domain.  A
      set of cpus that will receive an irq on the same vector.  Currently the
      code for implementing this is placed in the genapic structure so we can
      vary this depending on how we are using the io_apics.
      
      This allows us to restore the previous behaviour of genapic_flat without
      removing the benefits of having separate vector allocation for large
      machines.
      
      This should also fix the problem report where a hyperthreaded cpu was
      receving the irq on the wrong hyperthread when in logical delivery mode
      because the previous behaviour is restored.
      
      This patch properly records our allocation of the first 16 irqs to the
      first 16 available vectors on all cpus.  This should be fine but it may
      run into problems with multiple interrupts at the same interrupt level.
      Except for some badly maintained comments in the code and the behaviour
      of the interrupt allocator I have no real understanding of that problem.
      Signed-off-by: NEric W. Biederman <ebiederm@xmission.com>
      Acked-by: NMuli Ben-Yehuda <muli@il.ibm.com>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      c7111c13
  8. 26 9月, 2006 2 次提交
  9. 01 7月, 2006 1 次提交
  10. 27 6月, 2006 2 次提交
  11. 12 1月, 2006 1 次提交
  12. 13 9月, 2005 2 次提交
  13. 10 9月, 2005 1 次提交
  14. 29 7月, 2005 2 次提交
  15. 26 6月, 2005 2 次提交
  16. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4