From: Cyrill Gorcunov Date: Tue, 16 Jun 2009 22:32:32 +0000 (-0700) Subject: mm: setup_per_zone_inactive_ratio - do not call for int_sqrt if not needed X-Git-Tag: v2.6.31-rc1~299^2~120 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c87eada68fe5d29a5f67528f81b6e45124f579b;p=pandora-kernel.git mm: setup_per_zone_inactive_ratio - do not call for int_sqrt if not needed int_sqrt() returns 0 if its argument is zero so call it if only needed. Signed-off-by: Cyrill Gorcunov Cc: David Rientjes Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed