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
..
2012-10-12 09:59:23 +09:00
2012-10-02 20:25:04 -07:00
2012-10-02 20:25:04 -07:00
2012-10-02 20:25:04 -07:00
2012-10-11 10:21:16 +09:00
2012-10-02 20:25:04 -07:00
2012-10-02 20:25:04 -07:00
2012-10-26 09:34:04 -07:00
2012-10-29 08:49:25 -07:00
2012-11-05 06:45:54 -05:00
2012-10-02 21:35:55 -04:00
2012-10-02 11:11:09 -07:00
2012-10-02 13:38:27 -07:00
2012-10-02 20:25:04 -07:00
2012-10-02 20:25:04 -07:00
2012-10-12 10:52:03 +09:00
2012-10-09 23:23:53 +02:00
2012-10-16 18:12:38 -07:00
2012-10-28 22:24:57 -04:00
2012-10-09 23:33:38 -04:00
2012-10-02 20:25:04 -07:00
2012-10-09 16:22:17 +09:00
2012-11-07 09:43:03 +00:00
2012-10-02 20:25:04 -07:00
2012-10-02 20:25:04 -07:00
2012-10-10 11:15:20 +09:00
2012-10-09 23:33:38 -04:00
2012-10-09 22:34:52 +02:00
2012-10-09 16:22:39 +09:00
2012-10-09 23:33:55 -04:00
2012-10-08 06:36:39 +09:00
2012-10-09 15:04:25 +01:00
2012-10-17 09:18:38 -05:00
2012-10-24 10:46:22 -04:00
2012-10-02 20:25:04 -07:00
2012-10-02 20:25:04 -07:00
2012-10-02 20:25:04 -07:00
2012-11-02 18:51:54 -04:00
2012-10-09 18:35:22 -04:00
2012-10-09 16:22:17 +09:00
2012-11-09 06:41:47 +01:00
2012-10-02 20:25:04 -07:00
2012-10-09 16:22:17 +09:00
2012-10-06 03:05:31 +09:00
2012-10-02 21:35:55 -04:00
2012-11-16 10:15:35 -08:00
2012-11-14 18:30:21 -08:00
2012-10-02 20:25:04 -07:00
2012-10-02 20:25:04 -07:00
2012-10-16 18:12:38 -07:00
2012-10-09 23:33:55 -04:00
2012-10-02 21:35:55 -04:00
2012-10-02 20:25:04 -07:00
2012-10-24 15:57:14 -07:00
2012-10-09 23:33:39 -04:00
2012-10-26 16:26:44 +03:00
2012-10-04 09:14:01 -07:00
2012-10-09 23:33:39 -04:00
2012-11-08 11:10:51 -06:00
2012-10-06 03:05:16 +09:00
2012-10-10 12:02:25 +09:00
2012-10-10 12:02:25 +09:00
2012-10-06 03:05:16 +09:00
2012-10-22 22:00:26 +02:00
2012-10-28 10:59:37 -07:00
2012-10-08 06:36:39 +09:00
2012-10-22 08:50:37 +03:00
2012-10-06 03:05:17 +09:00
2012-10-25 14:37:53 -07:00
2012-10-12 20:14:55 -04:00
2012-10-16 13:36:50 -04:00
2012-10-06 03:05:15 +09:00
2012-10-02 20:25:04 -07:00
2012-11-09 06:41:46 +01:00
2012-10-25 22:28:12 +02:00
2012-10-09 15:52:31 +09:00
2012-10-10 01:15:44 -04:00
2012-10-30 21:27:28 -07:00
2012-10-12 20:14:55 -04:00
2012-10-12 10:46:03 +09:00
2012-10-09 16:22:39 +09:00
2012-10-12 20:15:09 -04:00
2012-10-06 03:05:15 +09:00
2012-10-09 18:35:22 -04:00
2012-10-06 03:05:15 +09:00
2012-10-26 10:05:07 -07:00
2012-10-12 20:14:55 -04:00
2012-10-12 20:15:09 -04:00
2012-10-02 21:35:55 -04:00
2012-10-02 21:35:55 -04:00
2012-10-02 20:25:04 -07:00
2012-10-09 23:33:39 -04:00
2012-10-12 13:16:48 -07:00
2012-10-18 12:35:58 -07:00