From: Nick Piggin Date: Wed, 4 Oct 2006 09:15:23 +0000 (-0700) Subject: [PATCH] mm: micro optimise zone_watermark_ok X-Git-Tag: v2.6.19-rc1~159 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e80ee884ae0e3794ef2b65a18a767d502ad712ee;p=pandora-kernel.git [PATCH] mm: micro optimise zone_watermark_ok Having min be a signed quantity means gcc can't turn high latency divides into shifts. There happen to be two such divides for GFP_ATOMIC (ie. networking, ie. important) allocations, one of which depends on the other. Fixing this makes code smaller as a bonus. Shame on somebody (probably me). Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed