summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorRik van Riel <riel@redhat.com>2005-11-28 22:44:07 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2005-11-28 23:42:25 +0100
commitf7b7fd8f3ebbb2810d6893295aa984acd0fd30db (patch)
tree01afc1edafc50a3c65ec8576c05c60da53d8d242 /scripts
parent[PATCH] v9fs: fix memory leak in v9fs dentry code (diff)
downloadlinux-f7b7fd8f3ebbb2810d6893295aa984acd0fd30db.tar.xz
linux-f7b7fd8f3ebbb2810d6893295aa984acd0fd30db.zip
[PATCH] temporarily disable swap token on memory pressure
Some users (hi Zwane) have seen a problem when running a workload that eats nearly all of physical memory - th system does an OOM kill, even when there is still a lot of swap free. The problem appears to be a very big task that is holding the swap token, and the VM has a very hard time finding any other page in the system that is swappable. Instead of ignoring the swap token when sc->priority reaches 0, we could simply take the swap token away from the memory hog and make sure we don't give it back to the memory hog for a few seconds. This patch resolves the problem Zwane ran into. Signed-off-by: Rik van Riel <riel@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions