Andrew Morton 8713e01295 vmscan: avoid multiplication overflow in shrink_zone()
Local variable `scan' can overflow on zones which are larger than

	(2G * 4k) / 100 = 80GB.

Making it 64-bit on 64-bit will fix that up.

Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Wu Fengguang <fengguang.wu@intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Rik van Riel <riel@redhat.com>
Cc: Lee Schermerhorn <lee.schermerhorn@hp.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-05-02 15:36:10 -07:00
..
2009-04-01 08:59:13 -07:00
2009-04-16 07:47:49 -07:00
2009-04-01 08:59:14 -07:00
2009-04-01 08:59:13 -07:00
2009-05-02 15:36:09 -07:00
2007-10-20 01:27:18 +02:00
2008-07-28 16:30:21 -07:00
2008-06-12 18:05:41 -07:00
2007-10-20 01:27:18 +02:00
2009-02-11 14:25:35 -08:00
2009-05-02 15:36:09 -07:00
2009-01-08 08:31:05 -08:00
2009-04-13 15:04:32 -07:00
2009-04-02 19:04:48 -07:00