[PATCH 1/6] ring-buffer: Fix waking up ring buffer readers