[PATCH 4.14 039/143] perf/ring_buffer: Prevent concurent ring buffer access