[PATCH openEuler-5.10-LTS 03/30] ring-buffer: Handle race between rb_move_tail and rb_check_pages