]> git.baikalelectronics.ru Git - kernel.git/commit
mm, oom: add comment for why oom_adj exists
authorDavid Rientjes <rientjes@google.com>
Fri, 6 Nov 2015 02:50:32 +0000 (18:50 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 6 Nov 2015 03:34:48 +0000 (19:34 -0800)
commitae0f08e10e6530c08bdbe09c4639da62231a1427
treed302a8fb0e69169ef9e0749918ab6f0fd26ac2a9
parent63a79d8c197bf6ccfaade552eae5de9f564c7c24
mm, oom: add comment for why oom_adj exists

/proc/pid/oom_adj exists solely to avoid breaking existing userspace
binaries that write to the tunable.

Add a comment in the only possible location within the kernel tree to
describe the situation and motivation for keeping it around.

Signed-off-by: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/proc/base.c