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. 30 1月, 2008 1 次提交
  7. 25 1月, 2008 1 次提交
  8. 19 1月, 2008 1 次提交
  9. 18 10月, 2007 1 次提交
  10. 11 10月, 2007 1 次提交
  11. 01 6月, 2007 1 次提交
  12. 22 5月, 2007 1 次提交
  13. 09 5月, 2007 1 次提交
    • C
      move die notifier handling to common code · 1eeb66a1
      Christoph Hellwig 提交于
      This patch moves the die notifier handling to common code.  Previous
      various architectures had exactly the same code for it.  Note that the new
      code is compiled unconditionally, this should be understood as an appel to
      the other architecture maintainer to implement support for it aswell (aka
      sprinkling a notify_die or two in the proper place)
      
      arm had a notifiy_die that did something totally different, I renamed it to
      arm_notify_die as part of the patch and made it static to the file it's
      declared and used at.  avr32 used to pass slightly less information through
      this interface and I brought it into line with the other architectures.
      
      [akpm@linux-foundation.org: build fix]
      [akpm@linux-foundation.org: fix vmalloc_sync_all bustage]
      [bryan.wu@analog.com: fix vmalloc_sync_all in nommu]
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      Cc: <linux-arch@vger.kernel.org>
      Cc: Russell King <rmk@arm.linux.org.uk>
      Signed-off-by: NBryan Wu <bryan.wu@analog.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      1eeb66a1
  14. 03 5月, 2007 1 次提交
  15. 18 2月, 2007 1 次提交
  16. 26 9月, 2006 3 次提交
  17. 17 9月, 2006 1 次提交
  18. 11 7月, 2006 1 次提交
    • A
      [PATCH] x86_64: Allow oprofile for model P4 models · 1cfcea1b
      Andi Kleen 提交于
      Add it for P4 model 6 - reported to work and have a similar PMU to
      earlier P4s.
      
      Add an p4force=1 module override parameter for future use.
      
      We had a discussion about that earlier - it's a trade off between the
      PMU staying compatible or not.  I think the force parameter is a
      reasonable compromise.
      
      Cc: oprofile-list@lists.sf.net
      Cc: Asit Mallick <asit.k.mallick@intel.com>
      Signed-off-by: NAndi Kleen <ak@suse.de>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      1cfcea1b
  19. 27 6月, 2006 1 次提交
  20. 16 5月, 2006 1 次提交
  21. 29 3月, 2006 1 次提交
  22. 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
  23. 08 9月, 2005 1 次提交
  24. 17 4月, 2005 2 次提交
    • P
      [PATCH] pm_message_t: more fixes in common and i386 · 438510f6
      Pavel Machek 提交于
      I thought I'm done with fixing u32 vs.  pm_message_t ...  unfortunately
      that turned out not to be the case as Russel King pointed out.  Here are
      fixes for Documentation and common code (mainly system devices).
      Signed-off-by: NPavel Machek <pavel@suse.cz>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      438510f6
    • 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