|
|
@@ -85,8 +85,8 @@ static void perf_output_put_handle(struct perf_output_handle *handle)
|
|
|
rb->user_page->data_head = head;
|
|
|
|
|
|
/*
|
|
|
- * Now check if we missed an update, rely on the (compiler)
|
|
|
- * barrier in atomic_dec_and_test() to re-read rb->head.
|
|
|
+ * Now check if we missed an update -- rely on previous implied
|
|
|
+ * compiler barriers to force a re-read.
|
|
|
*/
|
|
|
if (unlikely(head != local_read(&rb->head))) {
|
|
|
local_inc(&rb->nest);
|