This allows quick response to Ctrl-C etc. for impatient users. Signed-off-by: Wu Fengguang --- mm/page-writeback.c | 3 +++ 1 file changed, 3 insertions(+) --- linux-next.orig/mm/page-writeback.c 2010-09-09 16:01:14.000000000 +0800 +++ linux-next/mm/page-writeback.c 2010-09-09 16:02:27.000000000 +0800 @@ -553,6 +553,9 @@ static void balance_dirty_pages(struct a __set_current_state(TASK_INTERRUPTIBLE); io_schedule_timeout(pause); + if (signal_pending(current)) + break; + check_exceeded: /* * The bdi thresh is somehow "soft" limit derived from the -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/