[PATCH 3.16 289/328] perf/ring_buffer: Prevent concurent ring buffer access