From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wu Fengguang Subject: [PATCH 0/6] writeback cleanups and trivial fixes Date: Sun, 11 Jul 2010 10:06:56 +0800 Message-ID: <20100711020656.340075560@intel.com> Cc: Christoph Hellwig To: Andrew Morton Return-path: CC: Dave Chinner CC: Jan Kara CC: Peter Zijlstra Cc: Wu Fengguang cc: cc: Linux Memory Management List cc: LKML Sender: owner-linux-mm@kvack.org List-Id: linux-fsdevel.vger.kernel.org Andrew, Here are some writeback cleanups to avoid unnecessary calculation overheads, and relative simple bug fixes. The patch applies to latest linux-next tree. The mmotm tree will need rebase to include commit 32422c79 (writeback: Add tracing to balance_dirty_pages) in order to avoid merge conflicts. [PATCH 1/6] writeback: take account of NR_WRITEBACK_TEMP in balance_dirty_pages() [PATCH 2/6] writeback: reduce calls to global_page_state in balance_dirty_pages() [PATCH 3/6] writeback: avoid unnecessary calculation of bdi dirty thresholds [PATCH 4/6] writeback: dont redirty tail an inode with dirty pages [PATCH 5/6] writeback: fix queue_io() ordering [PATCH 6/6] writeback: merge for_kupdate and !for_kupdate cases fs/fs-writeback.c | 68 ++++----------- include/linux/writeback.h | 5 - mm/backing-dev.c | 3 mm/page-writeback.c | 158 ++++++++++++++---------------------- 4 files changed, 89 insertions(+), 145 deletions(-) Thanks, Fengguang -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org