From: KOSAKI Motohiro Date: Tue, 10 Aug 2010 00:19:50 +0000 (-0700) Subject: vmscan: avoid subtraction of unsigned types X-Git-Tag: v2.6.36-rc1~400 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=15748048991e801a2d18ce5da4e0d528852bc106;p=pandora-kernel.git vmscan: avoid subtraction of unsigned types 'slab_reclaimable' and 'nr_pages' are unsigned. Subtraction is unsafe because negative results would be misinterpreted. Signed-off-by: KOSAKI Motohiro Reviewed-by: Minchan Kim Cc: Mel Gorman Cc: Rik van Riel Cc: Johannes Weiner Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed