From: Dmitry Torokhov Date: Fri, 4 Jun 2010 21:14:52 +0000 (-0700) Subject: vmware balloon: clamp number of collected non-balloonable pages X-Git-Tag: v2.6.35-rc2~30 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=commitdiff_plain;h=55adaa495edc429be84399f83df80dfb7f36598b 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 Acked-by: Bhavesh Davda Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed