Comment 5 for bug 1077248

Revision history for this message
Vincent Li (vincent-mc-li) wrote :

I did further debugging and noticed:

3.6.0:

# ls -l /proc/1/oom*
-r--r--r-- 1 root root 0 2012-11-12 11:31 /proc/1/oom_score
-rw-r--r-- 1 root root 0 2012-11-12 11:31 /proc/1/oom_score_adj

3.7.0-rc4:

# ls -l /proc/1/oom*
-rw-r--r-- 1 root root 0 2012-11-12 11:41 /proc/1/oom_adj
-r--r--r-- 1 root root 0 2012-11-12 11:41 /proc/1/oom_score
-rw-r--r-- 1 root root 0 2012-11-12 11:41 /proc/1/oom_score_adj

it looks to me upstream kernel removed oom_adj from commit below:

commit 01dc52ebdf472f77cca623ca693ca24cfc0f1bbe
Author: Davidlohr Bueso <email address hidden>
Date: Mon Oct 8 16:29:30 2012 -0700

    oom: remove deprecated oom_adj

    The deprecated /proc/<pid>/oom_adj is scheduled for removal this month.