diff options
author | KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> | 2009-09-22 02:03:16 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-22 16:17:39 +0200 |
commit | 5d863b89688e5811cd9e5bd0082cb38abe03adf3 (patch) | |
tree | 6041584a854fc70cd497843f134e2cf983741230 /mm | |
parent | oom: oom_kill doesn't kill vfork parent (or child) (diff) | |
download | linux-5d863b89688e5811cd9e5bd0082cb38abe03adf3.tar.xz linux-5d863b89688e5811cd9e5bd0082cb38abe03adf3.zip |
oom: fix oom_adjust_write() input sanity check
Andrew Morton pointed out oom_adjust_write() has very strange EIO
and new line handling. this patch fixes it.
Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Paul Menage <menage@google.com>
Cc: David Rientjes <rientjes@google.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions