oom_adj has been deprecated in Linux 2.6.35 (commit 51b1bd2ace1595b72956224deda349efa880b693) and removed in Linux 3.7 (01dc52ebdf472f77cca623ca693ca24cfc0f1bbe) because it was replaced with oom_score_adj. The reasoning can be found on http://www.kernel.org/doc/Documentation/ABI/obsolete/proc-pid-oom_adj Now, including this whole document is a bit too much for proc(5), but what should be included instead? man-pages version: 3.44
But there is also commit fa0cbbf145aabbf29c6f28f8a11935c0b0fd86fc Author: David Rientjes <rientjes@google.com> Date: Mon Nov 12 17:53:04 2012 -0800 mm, oom: reintroduce /proc/pid/oom_adj So the story is not so simple. I modify proc(5) to include oom_score_adj, taking pretty much all of the text from Documentation/filesystems/proc.txt.