Message ID | 20200107194525.uXF6D8jlA%akpm@linux-foundation.org |
---|---|
State | New |
Headers | show |
Series | [merged] mm-oom-fix-pgtables-units-mismatch-in-killed-process-message.patch removed from -mm tree | expand |
--- a/mm/oom_kill.c~mm-oom-fix-pgtables-units-mismatch-in-killed-process-message +++ a/mm/oom_kill.c @@ -890,7 +890,7 @@ static void __oom_kill_process(struct ta K(get_mm_counter(mm, MM_FILEPAGES)), K(get_mm_counter(mm, MM_SHMEMPAGES)), from_kuid(&init_user_ns, task_uid(victim)), - mm_pgtables_bytes(mm), victim->signal->oom_score_adj); + mm_pgtables_bytes(mm) >> 10, victim->signal->oom_score_adj); task_unlock(victim); /*