From: David Rientjes Date: Tue, 13 Nov 2012 01:53:04 +0000 (-0800) Subject: mm, oom: reintroduce /proc/pid/oom_adj X-Git-Tag: v3.7-rc6~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa0cbbf145aabbf29c6f28f8a11935c0b0fd86fc;p=pandora-kernel.git mm, oom: reintroduce /proc/pid/oom_adj This is mostly a revert of 01dc52ebdf47 ("oom: remove deprecated oom_adj") from Davidlohr Bueso. It reintroduces /proc/pid/oom_adj for backwards compatibility with earlier kernels. It simply scales the value linearly when /proc/pid/oom_score_adj is written. The major difference is that its scheduled removal is no longer included in Documentation/feature-removal-schedule.txt. We do warn users with a single printk, though, to suggest the more powerful and supported /proc/pid/oom_score_adj interface. Reported-by: Artem S. Tashkinov Signed-off-by: David Rientjes Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed