[PATCH openEuler-1.0-LTS 11/25] ring_buffer: Do not deactivate non-existant pages