From: Andrew Morton Date: Mon, 15 May 2006 16:43:59 +0000 (-0700) Subject: [PATCH] setup_per_zone_pages_min() overflow fix X-Git-Tag: v2.6.17-rc5~147 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac924c6034d9095f95ee889f7e31bbb9145da0c2;p=pandora-kernel.git [PATCH] setup_per_zone_pages_min() overflow fix As pointed out in http://bugzilla.kernel.org/show_bug.cgi?id=6490, this function can experience overflows on 32-bit machines, causing our response to changed values of min_free_kbytes to go whacky. Fixing it efficiently is all too hard, so fix it with 64-bit math instead. Cc: Ake Sandgren Cc: Martin Bligh Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed