[PATCH openEuler-1.0-LTS 16/18] mm: Refactor code in reliable_report_meminfo()