1. 24 6月, 2007 23 次提交
  2. 23 6月, 2007 12 次提交
  3. 22 6月, 2007 5 次提交
    • A
      Allow DEBUG_RODATA and KPROBES to co-exist · 0864a4e2
      Arjan van de Ven 提交于
      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: NArjan van de Ven <arjan@linux.intel.com>
      Tested-by: NS. 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: NLinus Torvalds <torvalds@linux-foundation.org>
      0864a4e2
    • L
      Merge master.kernel.org:/pub/scm/linux/kernel/git/davej/agpgart · 79d9a72f
      Linus Torvalds 提交于
      * master.kernel.org:/pub/scm/linux/kernel/git/davej/agpgart:
        [AGPGART] intel_agp: don't load if no IGD and AGP port
      79d9a72f
    • L
      Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/kyle/parisc-2.6 · 9738cbe3
      Linus Torvalds 提交于
      * '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
    • T
      posix-timers: Prevent softirq starvation by small intervals and SIG_IGN · 58229a18
      Thomas Gleixner 提交于
      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: NThomas Gleixner <tglx@linutronix.de>
      Acked-by: NIngo 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: NLinus Torvalds <torvalds@linux-foundation.org>
      58229a18
    • H
      page_mapping must avoid slub pages · b9bae340
      Hugh Dickins 提交于
      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: NHugh 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: NLinus Torvalds <torvalds@linux-foundation.org>
      b9bae340