[PATCH 6.1 137/164] ring-buffer: Fix race while reader and writer are on the same page