summaryrefslogtreecommitdiffstats
path: root/fs/minix/itree_v2.c
diff options
context:
space:
mode:
authorWu Fengguang2010-08-11 23:17:39 +0200
committerLinus Torvalds2010-08-12 17:43:29 +0200
commit16c4042f08919f447d6b2a55679546c9b97c7264 (patch)
tree0248b64d46237854ebe67efe8c742cb5878d8611 /fs/minix/itree_v2.c
parentwriteback: balance_dirty_pages(): reduce calls to global_page_state (diff)
downloadkernel-qcow2-linux-16c4042f08919f447d6b2a55679546c9b97c7264.tar.gz
kernel-qcow2-linux-16c4042f08919f447d6b2a55679546c9b97c7264.tar.xz
kernel-qcow2-linux-16c4042f08919f447d6b2a55679546c9b97c7264.zip
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 <fengguang.wu@intel.com> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Christoph Hellwig <hch@infradead.org> Cc: Dave Chinner <david@fromorbit.com> Cc: Jens Axboe <axboe@kernel.dk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/minix/itree_v2.c')
0 files changed, 0 insertions, 0 deletions