diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-08-06 12:30:52 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-08-06 12:30:52 -0400 |
commit | 4aed2fd8e3181fea7c09ba79cf64e7e3f4413bf9 (patch) | |
tree | 1f69733e5daab4915a76a41de0e4d1dc61e12cfb /kernel/sched.c | |
parent | 3a3527b6461b1298cc53ce72f336346739297ac8 (diff) | |
parent | fc9ea5a1e53ee54f681e226d735008e2a6f8f470 (diff) |
Merge branch 'perf-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
* 'perf-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: (162 commits)
tracing/kprobes: unregister_trace_probe needs to be called under mutex
perf: expose event__process function
perf events: Fix mmap offset determination
perf, powerpc: fsl_emb: Restore setting perf_sample_data.period
perf, powerpc: Convert the FSL driver to use local64_t
perf tools: Don't keep unreferenced maps when unmaps are detected
perf session: Invalidate last_match when removing threads from rb_tree
perf session: Free the ref_reloc_sym memory at the right place
x86,mmiotrace: Add support for tracing STOS instruction
perf, sched migration: Librarize task states and event headers helpers
perf, sched migration: Librarize the GUI class
perf, sched migration: Make the GUI class client agnostic
perf, sched migration: Make it vertically scrollable
perf, sched migration: Parameterize cpu height and spacing
perf, sched migration: Fix key bindings
perf, sched migration: Ignore unhandled task states
perf, sched migration: Handle ignored migrate out events
perf: New migration tool overview
tracing: Drop cpparg() macro
perf: Use tracepoint_synchronize_unregister() to flush any pending tracepoint call
...
Fix up trivial conflicts in Makefile and drivers/cpufreq/cpufreq.c
Diffstat (limited to 'kernel/sched.c')
-rw-r--r-- | kernel/sched.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index f52a8801b7a2..265cf3a2b5d8 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -3726,7 +3726,7 @@ int mutex_spin_on_owner(struct mutex *lock, struct thread_info *owner) | |||
3726 | * off of preempt_enable. Kernel preemptions off return from interrupt | 3726 | * off of preempt_enable. Kernel preemptions off return from interrupt |
3727 | * occur there and call schedule directly. | 3727 | * occur there and call schedule directly. |
3728 | */ | 3728 | */ |
3729 | asmlinkage void __sched preempt_schedule(void) | 3729 | asmlinkage void __sched notrace preempt_schedule(void) |
3730 | { | 3730 | { |
3731 | struct thread_info *ti = current_thread_info(); | 3731 | struct thread_info *ti = current_thread_info(); |
3732 | 3732 | ||
@@ -3738,9 +3738,9 @@ asmlinkage void __sched preempt_schedule(void) | |||
3738 | return; | 3738 | return; |
3739 | 3739 | ||
3740 | do { | 3740 | do { |
3741 | add_preempt_count(PREEMPT_ACTIVE); | 3741 | add_preempt_count_notrace(PREEMPT_ACTIVE); |
3742 | schedule(); | 3742 | schedule(); |
3743 | sub_preempt_count(PREEMPT_ACTIVE); | 3743 | sub_preempt_count_notrace(PREEMPT_ACTIVE); |
3744 | 3744 | ||
3745 | /* | 3745 | /* |
3746 | * Check again in case we missed a preemption opportunity | 3746 | * Check again in case we missed a preemption opportunity |