diff options
author | Dmitry Torokhov <dtor@vmware.com> | 2010-06-04 23:14:52 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-06-05 00:21:44 +0200 |
commit | 55adaa495edc429be84399f83df80dfb7f36598b (patch) | |
tree | e7cf5e2ac61ebfa799484c11e148150c51ec0f60 /fs/binfmt_flat.c | |
parent | xtensa: invoke oom-killer from page fault (diff) | |
download | linux-55adaa495edc429be84399f83df80dfb7f36598b.tar.xz linux-55adaa495edc429be84399f83df80dfb7f36598b.zip |
vmware balloon: clamp number of collected non-balloonable pages
Limit number of accumulated non-balloonable pages during inflation cycle,
otherwise there is a chance we will be spinning and growing the list
forever. This happens during torture tests when balloon target changes
while we are in the middle of inflation cycle and monitor starts refusing
to lock pages (since they are not needed anymore).
Signed-off-by: Dmitry Torokhov <dtor@vmware.com>
Acked-by: Bhavesh Davda <bhavesh@vmware.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/binfmt_flat.c')
0 files changed, 0 insertions, 0 deletions