Thread (9 messages) 9 messages, 3 authors, 2012-06-25

Re: [patch] mm, oom: replace some information in tasklist dump

From: KOSAKI Motohiro <hidden>
Date: 2012-06-22 23:12:43

quoted
quoted
-               pr_info("[%5d] %5d %5d %8lu %8lu %3u     %3d         %5d %s\n",
+               pr_info("[%5d] %5d %5d %8lu %8lu %7lu %8lu         %5d %s\n",
                       task->pid, from_kuid(&init_user_ns, task_uid(task)),
                       task->tgid, task->mm->total_vm, get_mm_rss(task->mm),
-                       task_cpu(task), task->signal->oom_adj,
+                       task->mm->nr_ptes,
nr_ptes should be folded into rss. it's "resident".
btw, /proc rss info should be fixed too.
If we can fold rss into get_mm_rss() and every caller is ok with that,
then we can remove showing it here and adding it explicitly in
oom_badness().
No worth to make fragile ABI. Do you have any benefit?

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help