diff options
author | Wu Fengguang <[email protected]> | 2010-08-11 14:17:39 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2010-08-12 08:43:29 -0700 |
commit | 16c4042f08919f447d6b2a55679546c9b97c7264 (patch) | |
tree | 0248b64d46237854ebe67efe8c742cb5878d8611 /lib/debugobjects.c | |
parent | e50e37201ae2e7d6a52e87815759e6481f0bcfb9 (diff) |
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 <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: Dave Chinner <[email protected]>
Cc: Jens Axboe <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions