[PATCH AUTOSEL 4.18 067/100] perf/ring_buffer: Prevent concurent ring buffer access