Skip to content

Commit

Permalink
Merge branch 'perf/core' of git://git.kernel.org/pub/scm/linux/kernel…
Browse files Browse the repository at this point in the history
…/git/frederic/random-tracing into perf/core
  • Loading branch information
Ingo Molnar committed May 20, 2010
2 parents b36f19d + acd35a4 commit 915e555
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kernel/perf_event.c
Original file line number Diff line number Diff line change
Expand Up @@ -2933,7 +2933,7 @@ static void perf_output_put_handle(struct perf_output_handle *handle)
*/

if (!local_dec_and_test(&data->nest))
return;
goto out;

/*
* Publish the known good head. Rely on the full barrier implied
Expand All @@ -2954,6 +2954,7 @@ static void perf_output_put_handle(struct perf_output_handle *handle)
if (handle->wakeup != local_read(&data->wakeup))
perf_output_wakeup(handle);

out:
preempt_enable();
}

Expand Down

0 comments on commit 915e555

Please sign in to comment.