1. 29 1月, 2009 11 次提交
  2. 27 1月, 2009 1 次提交
  3. 21 1月, 2009 1 次提交
  4. 07 1月, 2009 1 次提交
  5. 03 1月, 2009 2 次提交
  6. 25 12月, 2008 2 次提交
  7. 20 12月, 2008 1 次提交
  8. 17 12月, 2008 5 次提交
  9. 10 12月, 2008 1 次提交
    • Y
      sparseirq: fix !SMP && !PCI_MSI && !HT_IRQ build · 8a4830f8
      Yinghai Lu 提交于
      Ingo Molnar wrote:
      
      >>>  drivers/pci/intr_remapping.c: In function 'irq_2_iommu_alloc':
      >>>  drivers/pci/intr_remapping.c:72: error: 'boot_cpu_id' undeclared (first use in this function)
      >>>  drivers/pci/intr_remapping.c:72: error: (Each undeclared identifier is reported only once
      >>>  drivers/pci/intr_remapping.c:72: error: for each function it appears in.)
      
      sparseirq should only be used with SMP for now.
      8a4830f8
  10. 08 12月, 2008 1 次提交
    • Y
      sparse irq_desc[] array: core kernel and x86 changes · 0b8f1efa
      Yinghai Lu 提交于
      Impact: new feature
      
      Problem on distro kernels: irq_desc[NR_IRQS] takes megabytes of RAM with
      NR_CPUS set to large values. The goal is to be able to scale up to much
      larger NR_IRQS value without impacting the (important) common case.
      
      To solve this, we generalize irq_desc[NR_IRQS] to an (optional) array of
      irq_desc pointers.
      
      When CONFIG_SPARSE_IRQ=y is used, we use kzalloc_node to get irq_desc,
      this also makes the IRQ descriptors NUMA-local (to the site that calls
      request_irq()).
      
      This gets rid of the irq_cfg[] static array on x86 as well: irq_cfg now
      uses desc->chip_data for x86 to store irq_cfg.
      Signed-off-by: NYinghai Lu <yinghai@kernel.org>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      0b8f1efa
  11. 02 12月, 2008 2 次提交
    • N
      x86, apm: remove CONFIG_APM_REAL_MODE_POWER_OFF in favor of a kernel parameter · 8daa1905
      Niels de Vos 提交于
      Remove CONFIG_APM_REAL_MODE_POWER_OFF like CONFIG_APM_POWER_OFF which
      has been done for linux-2.2.14pre8 (http://lkml.org/lkml/1999/11/23/3).
      
      Re-introducing CONFIG_APM_POWER_OFF got nack-ed. Stephen didn't bother
      to remove CONFIG_APM_REAL_MODE_POWER_OFF, let's get rid of it now.
      	Reference: http://lkml.org/lkml/2008/5/7/97Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      8daa1905
    • F
      tracing/function-graph-tracer: support for x86-64 · 48d68b20
      Frederic Weisbecker 提交于
      Impact: extend and enable the function graph tracer to 64-bit x86
      
      This patch implements the support for function graph tracer under x86-64.
      Both static and dynamic tracing are supported.
      
      This causes some small CPP conditional asm on arch/x86/kernel/ftrace.c I
      wanted to use probe_kernel_read/write to make the return address
      saving/patching code more generic but it causes tracing recursion.
      
      That would be perhaps useful to implement a notrace version of these
      function for other archs ports.
      
      Note that arch/x86/process_64.c is not traced, as in X86-32. I first
      thought __switch_to() was responsible of crashes during tracing because I
      believed current task were changed inside but that's actually not the
      case (actually yes, but not the "current" pointer).
      
      So I will have to investigate to find the functions that harm here, to
      enable tracing of the other functions inside (but there is no issue at
      this time, while process_64.c stays out of -pg flags).
      
      A little possible race condition is fixed inside this patch too. When the
      tracer allocate a return stack dynamically, the current depth is not
      initialized before but after. An interrupt could occur at this time and,
      after seeing that the return stack is allocated, the tracer could try to
      trace it with a random uninitialized depth. It's a prevention, even if I
      hadn't problems with it.
      Signed-off-by: NFrederic Weisbecker <fweisbec@gmail.com>
      Cc: Steven Rostedt <rostedt@goodmis.org>
      Cc: Tim Bird <tim.bird@am.sony.com>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      48d68b20
  12. 30 11月, 2008 1 次提交
  13. 26 11月, 2008 1 次提交
  14. 24 11月, 2008 1 次提交
  15. 23 11月, 2008 1 次提交
  16. 19 11月, 2008 1 次提交
  17. 18 11月, 2008 1 次提交
  18. 13 11月, 2008 1 次提交
  19. 12 11月, 2008 1 次提交
  20. 11 11月, 2008 4 次提交
    • J
      x86, voyager: fix smp generic helper voyager breakage · 6cd10f8d
      James Bottomley 提交于
      Impact: build/boot fix for x86/Voyager
      
      This change:
      
      | commit 3d442233
      | Author: Jens Axboe <jens.axboe@oracle.com>
      | Date:   Thu Jun 26 11:21:34 2008 +0200
      |
      |     Add generic helpers for arch IPI function calls
      
      didn't wire up the voyager smp call function correctly, so do that
      here.  Also make CONFIG_USE_GENERIC_SMP_HELPERS a def_bool y again,
      since we now use the generic helpers for every x86 architecture.
      Signed-off-by: NJames Bottomley <James.Bottomley@HansenPartnership.com>
      Cc: Jens Axboe <Jens.Axboe@oracle.com>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      6cd10f8d
    • I
      tracing, x86: clean up FUNCTION_RET_TRACER Kconfig · f1c4be5e
      Ingo Molnar 提交于
      Impact: cleanup
      
      move FUNCTION_RET_TRACER to the X86 select section, where we have all the
      other options.
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      f1c4be5e
    • F
      tracing, x86: add low level support for ftrace return tracing · caf4b323
      Frederic Weisbecker 提交于
      Impact: add infrastructure for function-return tracing
      
      Add low level support for ftrace return tracing.
      
      This plug-in stores return addresses on the thread_info structure of
      the current task.
      
      The index of the current return address is initialized when the task
      is the first one (init) and when a process forks (the child). It is
      not needed when a task does a sys_execve because after this syscall,
      it still needs to return on the kernel functions it called.
      
      Note that the code of return_to_handler has been suggested by Steven
      Rostedt as almost all of the ideas of improvements in this V3.
      
      For purpose of security, arch/x86/kernel/process_32.c is not traced
      because __switch_to() changes the current task during its execution.
      That could cause inconsistency in the stored return address of this
      function even if I didn't have any crash after testing with tracing on
      this function enabled.
      Signed-off-by: NFrederic Weisbecker <fweisbec@gmail.com>
      Cc: Steven Rostedt <rostedt@goodmis.org>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      caf4b323
    • I
      sched: rename SCHED_NO_NO_OMIT_FRAME_POINTER => SCHED_OMIT_FRAME_POINTER · ae1e9130
      Ingo Molnar 提交于
      Impact: cleanup, change .config option name
      
      We had this ugly config name for a long time for hysteric raisons.
      Rename it to a saner name.
      
      We still cannot get rid of it completely, until /proc/<pid>/stack
      usage replaces WCHAN usage for good.
      
      We'll be able to do that in the v2.6.29/v2.6.30 timeframe.
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      ae1e9130