1. 24 Jun, 2007 21 commits
  2. 23 Jun, 2007 10 commits
  3. 22 Jun, 2007 3 commits
  4. 21 Jun, 2007 6 commits
    • Arjan van de Ven's avatar
      Allow DEBUG_RODATA and KPROBES to co-exist · 0864a4e2
      Arjan van de Ven authored
      Do not mark the kernel text read only if KPROBES is in the kernel;
      kprobes needs to hot-patch the kernel text to insert it's
      instrumentation.
      
      In this case, only mark the .rodata segment as read only.
      Signed-off-by: default avatarArjan van de Ven <arjan@linux.intel.com>
      Tested-by: default avatarS. P. Prasanna <prasanna@in.ibm.com>
      Cc: Andi Kleen <ak@suse.de>
      Cc: William Cohen <wcohen@redhat.com>
      Cc: Ian McDonald <ian.mcdonald@jandi.co.nz>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      0864a4e2
    • Linus Torvalds's avatar
      Merge master.kernel.org:/pub/scm/linux/kernel/git/davej/agpgart · 79d9a72f
      Linus Torvalds authored
      * master.kernel.org:/pub/scm/linux/kernel/git/davej/agpgart:
        [AGPGART] intel_agp: don't load if no IGD and AGP port
      79d9a72f
    • Linus Torvalds's avatar
      Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/kyle/parisc-2.6 · 9738cbe3
      Linus Torvalds authored
      * 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/kyle/parisc-2.6:
        [PARISC] unwinder improvements
        [PARISC] Fix unwinder on 64-bit kernels
        [PARISC] Handle wrapping in expand_upwards()
        [PARISC] stop lcd driver from stripping initial whitespace
      9738cbe3
    • Thomas Gleixner's avatar
      posix-timers: Prevent softirq starvation by small intervals and SIG_IGN · 58229a18
      Thomas Gleixner authored
      posix-timers which deliver an ignored signal are currently rearmed in
      the timer softirq: This is necessary because the timer needs to be
      delivered again when SIG_IGN is removed. This is not a problem, when
      the interval is reasonable.
      
      With high resolution timers enabled one might arm a posix timer with a
      very small interval and ignore the signal. This might lead to a
      softirq starvation when the interval is so small that the timer is
      requeued onto the softirq pending list right away.
      
      This problem was pointed out by Jan Kiszka. Thanks Jan !
      
      The correct solution would be to stop the timer, when the signal is
      ignored and rearm it when SIG_IGN is removed. Unfortunately this
      requires modification in sigaction and involves non trivial sighand
      locking. It's too late in the release cycle for such a change.
      
      For now we just keep the timer running and enforce that the timer only
      fires every jiffie. This does not break anything as we keep the
      overrun counter correct. It adds a little inaccuracy to the
      timer_gettime() interface, but...
      
      The more complex change is necessary anyway to fix another short
      coming of the current implementation, which I discovered while looking
      at this problem: A pending signal is discarded when SIG_IGN is set. In
      case that a posixtimer signal is pending then it is discarded as well,
      but when SIG_IGN is removed later nothing rearms the timer. This is
      not new, it's that way since posix timers have been merged. So nothing
      to worry about right now.
      
      I have a working solution to fix all of this, but the impact is too
      large for both stable and 2.6.22. I'm going to send it out for review
      in the next days.
      
      This should go into 2.6.21.stable as well.
      Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
      Acked-by: default avatarIngo Molnar <mingo@elte.hu>
      Cc: Jan Kiszka <jan.kiszka@web.de>
      Cc: Ulrich Drepper <drepper@redhat.com>
      Cc: Stable Team <stable@kernel.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      58229a18
    • Hugh Dickins's avatar
      page_mapping must avoid slub pages · b9bae340
      Hugh Dickins authored
      Nicolas Ferre reports oops from flush_dcache_page() on ARM when using
      SLUB: which reuses page->mapping as page->slab.  The page_mapping()
      function, used by ARM and PA-RISC flush_dcache_page() implementations,
      must not confuse SLUB pages with those which have page->mapping set.
      Signed-off-by: default avatarHugh Dickins <hugh@veritas.com>
      Cc: Nicolas Ferre <nicolas.ferre@rfo.atmel.com>
      Cc: Christoph Lameter <clameter@sgi.com>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      b9bae340
    • Randolph Chung's avatar
      [PARISC] unwinder improvements · 05dc16d6
      Randolph Chung authored
      Add special-case handling for "handle_interruption" so that we can rewind
      past the interruption. This is useful for seeing what caused a BUG() or
      WARN_ON(); otherwise the unwind stops at the interruption.
      Signed-off-by: default avatarRandolph Chung <tausq@debian.org>
      Signed-off-by: default avatarKyle McMartin <kyle@parisc-linux.org>
      05dc16d6