]> git.hungrycats.org Git - linux/commit
[PATCH] make oom killer points unsigned long
authorTim Schmielau <tim@physik3.uni-rostock.de>
Fri, 27 Aug 2004 03:42:51 +0000 (20:42 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 27 Aug 2004 03:42:51 +0000 (20:42 -0700)
commitc9bee9d91b1bc1f6a2e6aace13852d3a6cb89797
tree9111441b49cc68dd4de2e7f2e5c6c3c896baefa2
parent84a9d1e225868703873966372953d903de787bbb
[PATCH] make oom killer points unsigned long

It seems a little unsafe to me to have oom killer badness points of type
int, when all the underlying objects are unsigned long.

I can't immediately think of a case where this matters much, but e.g.  a
long-running job or daemon on a 64 bit machine might lose it's bonus
because of that.

Signed-off-by: Tim Schmielau <tim@physik3.uni-rostock.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/oom_kill.c