[PATCH openEuler-1.0-LTS 07/10] mm, oom: refactor dump_tasks for memcg OOMs