mm/oom: fix pgtables units mismatch in Killed process message
[sfrench/cifs-2.6.git] / mm / oom_kill.c
index 71e3acea781764248161da9d7e80046fe823eb72..d58c481b3df833e7ab12ecceaee8ed0b09a7e884 100644 (file)
@@ -890,7 +890,7 @@ static void __oom_kill_process(struct task_struct *victim, const char *message)
                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);
 
        /*