Re: [PATCH 08/24] OProfile: Moving increment_tail() inbuffer_sync.c
From: Ingo Molnar
Date: Sat Jul 26 2008 - 05:56:37 EST
* Robert Richter <robert.richter@xxxxxxx> wrote:
> +static void increment_tail(struct oprofile_cpu_buffer *b)
> +{
> + unsigned long new_tail = b->tail_pos + 1;
> +
> + rmb();
this barrier needs a comment.
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/