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