From: Wu Fengguang Date: Wed, 11 Aug 2010 21:17:39 +0000 (-0700) Subject: writeback: avoid unnecessary calculation of bdi dirty thresholds X-Git-Tag: v2.6.36-rc1~88 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16c4042f08919f447d6b2a55679546c9b97c7264;p=pandora-kernel.git writeback: avoid unnecessary calculation of bdi dirty thresholds Split get_dirty_limits() into global_dirty_limits()+bdi_dirty_limit(), so that the latter can be avoided when under global dirty background threshold (which is the normal state for most systems). Signed-off-by: Wu Fengguang Cc: Peter Zijlstra Cc: Christoph Hellwig Cc: Dave Chinner Cc: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed