1. 07 10月, 2007 2 次提交
    • B
      Fix non-terminated PCI match table in PowerMac IDE · 71e4eda8
      Benjamin Herrenschmidt 提交于
      The PCI device table in the powermac IDE driver isn't properly
      terminated.  Depending on how your kernel is linked and other random
      factors, you can end up with this driver matched against any other PCI
      device in your system, possibly crashing at boot.
      
      Thanks to Heikki for tracking this down with me, the bug have been there
      for some time, though it rarely hurts due to luck.  In this case, the
      switch from .22 to .23-rc9 is causing it to show up due to differences
      in the resulting layout of .data I suppose.
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Paul Mackerras <pmac@au1.ibm.com>
      Cc: Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl>
      Cc: Heikki Lindholm <holindho@cs.helsinki.fi>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      71e4eda8
    • J
      xen: disable split pte locks for now · 67dd5a25
      Jeremy Fitzhardinge 提交于
      When pinning and unpinning pagetables, we must protect them against
      being used by other CPUs, lest they see the pagetable in an
      intermediate read-only-but-not-pinned state.
      
      When using split pte locks, doing this properly would require taking
      all the pte locks for the pagetable while pinning, but this may overflow
      the PREEMPT_BITS part of the preempt counter if the process has mapped
      more than about 512M of memory.
      
      However, failing to take the pte locks causes write-protect faults when
      the pageout code is trying to clear the Access bit on a pte which is part
      of a freshy created and still being pinned process after fork.
      
      This is a short-term fix until the problem is solved properly.
      Signed-off-by: NJeremy Fitzhardinge <jeremy@xensource.com>
      Acked-by: NRik van Riel <riel@redhat.com>
      Acked-by: NHugh Dickins <hugh@veritas.com>
      Cc: David Rientjes <rientjes@google.com>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Andi Kleen <ak@suse.de>
      Cc: Keir Fraser <keir@xensource.com>
      Cc: Jan Beulich <jbeulich@novell.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      67dd5a25
  2. 06 10月, 2007 4 次提交
  3. 05 10月, 2007 7 次提交
  4. 04 10月, 2007 15 次提交
  5. 03 10月, 2007 12 次提交