1. 20 8月, 2008 1 次提交
    • A
      x86: fix oprofile + hibernation badness · 80a8c9ff
      Andi Kleen 提交于
      Vegard Nossum reported oprofile + hibernation problems:
      
      > Now some warnings:
      >
      > ------------[ cut here ]------------
      > WARNING: at /uio/arkimedes/s29/vegardno/git-working/linux-2.6/kernel/smp.c:328 s
      > mp_call_function_mask+0x194/0x1a0()
      
      The usual problem: the suspend function when interrupts are
      already disabled calls smp_call_function which is not allowed with
      interrupt off. But at this point all the other CPUs should be already
      down anyways, so it should be enough to just drop that.
      
      This patch should fix that problem at least by fixing cpu hotplug&
      suspend support.
      
      [ mingo@elte.hu: fixed 5 coding style errors. ]
      Signed-off-by: NAndi Kleen <ak@linux.intel.com>
      Tested-by: NVegard Nossum <vegard.nossum@gmail.com>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      80a8c9ff
  2. 25 7月, 2008 1 次提交
  3. 26 6月, 2008 1 次提交
  4. 24 6月, 2008 1 次提交
    • V
      x86/oprofile: disable preemption in nmi_shutdown · 93e1ade5
      Vegard Nossum 提交于
      fix:
      
          BUG: using smp_processor_id() in preemptible [00000000] code: oprofiled/27301
          caller is nmi_shutdown+0x11/0x60
          Pid: 27301, comm: oprofiled Not tainted 2.6.26-rc7 #25
           [<c028a90d>] debug_smp_processor_id+0xbd/0xc0
           [<c045fba1>] nmi_shutdown+0x11/0x60
           [<c045dd4a>] oprofile_shutdown+0x2a/0x60
      
      Note that we don't need this for the other functions, since they are all
      called with on_each_cpu() (which disables preemption for us anyway).
      Signed-off-by: NVegard Nossum <vegard.nossum@gmail.com>
      Cc: Philippe Elie <phil.el@wanadoo.fr>
      Cc: oprofile-list@lists.sf.net
      Cc: Johannes Weiner <hannes@saeurebad.de>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      93e1ade5
  5. 20 4月, 2008 1 次提交
  6. 17 4月, 2008 4 次提交
  7. 30 1月, 2008 5 次提交
  8. 25 1月, 2008 1 次提交
  9. 19 1月, 2008 1 次提交
  10. 19 12月, 2007 1 次提交
  11. 24 10月, 2007 1 次提交
  12. 20 10月, 2007 3 次提交
  13. 18 10月, 2007 1 次提交
  14. 17 10月, 2007 1 次提交
  15. 11 10月, 2007 1 次提交