David Rientjes fa0cbbf145 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 <t.artem@lycos.com>
Signed-off-by: David Rientjes <rientjes@google.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-11-16 10:15:35 -08:00
..
2011-09-27 18:08:04 +02:00
2012-01-03 22:54:57 -05:00
2010-10-05 09:08:21 -07:00
2009-08-19 10:40:13 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2012-05-10 11:45:31 +01:00
2011-11-04 12:01:48 -07:00
2007-07-31 15:39:38 -07:00
2012-09-17 12:00:01 -05:00
2012-08-04 01:25:20 +04:00
2011-09-27 18:08:04 +02:00
2010-05-10 11:56:30 +02:00
2011-03-31 11:26:23 -03:00
2008-07-26 12:00:05 -07:00
2011-03-31 11:26:23 -03:00
2012-08-04 01:25:20 +04:00
2006-11-30 04:58:40 +01:00
2012-01-03 22:55:03 -05:00
2006-12-07 08:39:44 -08:00
2007-02-12 09:48:40 -08:00
2012-08-04 01:25:20 +04:00
2011-05-24 11:17:13 -05:00
2008-11-12 17:17:17 -08:00