1. 11 7月, 2009 6 次提交
    • L
      Merge branch 'core-fixes-for-linus-2' of... · ac3f4822
      Linus Torvalds 提交于
      Merge branch 'core-fixes-for-linus-2' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
      
      * 'core-fixes-for-linus-2' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
        dma-debug: Fix the overlap() function to be correct and readable
        oprofile: reset bt_lost_no_mapping with other stats
        x86/oprofile: rename kernel parameter for architectural perfmon to arch_perfmon
        signals: declare sys_rt_tgsigqueueinfo in syscalls.h
        rcu: Mark Hierarchical RCU no longer experimental
        dma-debug: Put all hash-chain locks into the same lock class
        dma-debug: fix off-by-one error in overlap function
      ac3f4822
    • L
      Merge branch 'perfcounters-fixes-for-linus' of... · 85be928c
      Linus Torvalds 提交于
      Merge branch 'perfcounters-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
      
      * 'perfcounters-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: (50 commits)
        perf report: Add "Fractal" mode output - support callchains with relative overhead rate
        perf_counter tools: callchains: Manage the cumul hits on the fly
        perf report: Change default callchain parameters
        perf report: Use a modifiable string for default callchain options
        perf report: Warn on callchain output request from non-callchain file
        x86: atomic64: Inline atomic64_read() again
        x86: atomic64: Clean up atomic64_sub_and_test() and atomic64_add_negative()
        x86: atomic64: Improve atomic64_xchg()
        x86: atomic64: Export APIs to modules
        x86: atomic64: Improve atomic64_read()
        x86: atomic64: Code atomic(64)_read and atomic(64)_set in C not CPP
        x86: atomic64: Fix unclean type use in atomic64_xchg()
        x86: atomic64: Make atomic_read() type-safe
        x86: atomic64: Reduce size of functions
        x86: atomic64: Improve atomic64_add_return()
        x86: atomic64: Improve cmpxchg8b()
        x86: atomic64: Improve atomic64_read()
        x86: atomic64: Move the 32-bit atomic64_t implementation to a .c file
        x86: atomic64: The atomic64_t data type should be 8 bytes aligned on 32-bit too
        perf report: Annotate variable initialization
        ...
      85be928c
    • P
      sched: optimize cond_resched() · d86ee480
      Peter Zijlstra 提交于
      Optimize cond_resched() by removing one conditional.
      
      Currently cond_resched() checks system_state ==
      SYSTEM_RUNNING in order to avoid scheduling before the
      scheduler is running.
      
      We can however, as per suggestion of Matt, use
      PREEMPT_ACTIVE to accomplish that very same.
      Suggested-by: NMatt Mackall <mpm@selenic.com>
      Signed-off-by: NPeter Zijlstra <a.p.zijlstra@chello.nl>
      Acked-by: NMatt Mackall <mpm@selenic.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      d86ee480
    • P
      sched: INIT_PREEMPT_COUNT · c99e6efe
      Peter Zijlstra 提交于
      Pull the initial preempt_count value into a single
      definition site.
      
      Maintainers for: alpha, ia64 and m68k, please have a look,
      your arch code is funny.
      
      The header magic is a bit odd, but similar to the KERNEL_DS
      one, CPP waits with expanding these macros until the
      INIT_THREAD_INFO macro itself is expanded, which is in
      arch/*/kernel/init_task.c where we've already included
      sched.h so we're good.
      
      Cc: tony.luck@intel.com
      Cc: rth@twiddle.net
      Cc: geert@linux-m68k.org
      Signed-off-by: NPeter Zijlstra <a.p.zijlstra@chello.nl>
      Acked-by: NMatt Mackall <mpm@selenic.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      c99e6efe
    • I
      dma-debug: Fix the overlap() function to be correct and readable · f39d1b97
      Ingo Molnar 提交于
      Linus noticed how unclean and buggy the overlap() function is:
      
       - It uses convoluted (and bug-causing) positive checks for
         range overlap - instead of using a more natural negative
         check.
      
       - Even the positive checks are buggy: a positive intersection
         check has four natural cases while we checked only for three,
         missing the (addr < start && addr2 == end) case for example.
      
       - The variables are mis-named, making it non-obvious how the
         check was done.
      
       - It needlessly uses u64 instead of unsigned long. Since these
         are kernel memory pointers and we explicitly exclude highmem
         ranges anyway we cannot ever overflow 32 bits, even if we
         could. (and on 64-bit it doesnt matter anyway)
      
      All in one, this function needs a total revamp. I used Linus's
      suggestions minus the paranoid checks (we cannot overflow really
      because if we get totally bad DMA ranges passed far more things
      break in the systems than just DMA debugging). I also fixed a
      few other small details i noticed.
      Reported-by: NLinus Torvalds <torvalds@linux-foundation.org>
      Cc: Joerg Roedel <joerg.roedel@amd.com>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      f39d1b97
    • L
      Merge branch 'tracing-fixes-for-linus' of... · 2a6f86bc
      Linus Torvalds 提交于
      Merge branch 'tracing-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
      
      * 'tracing-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
        tracing: Fix trace_print_seq()
        kprobes: No need to unlock kprobe_insn_mutex
        tracing/fastboot: Document the need of initcall_debug
        trace_export: Repair missed fields
        tracing: Fix stack tracer sysctl handling
      2a6f86bc
  2. 10 7月, 2009 24 次提交
  3. 09 7月, 2009 10 次提交