Gitweb: http://git.kernel.org/linus/3542a5c0de3d5b33227214a692bf9b12e249078e Commit: 3542a5c0de3d5b33227214a692bf9b12e249078e Parent: 92f25053c0189f8d2887f837d3936cdca1cdf730 Author: Jens Axboe <jens.axboe@oracle.com> AuthorDate: Thu Sep 17 19:56:01 2009 +0200 Committer: Jens Axboe <jens.axboe@oracle.com> CommitDate: Mon Sep 21 15:40:33 2009 +0200 writeback: don't use schedule_timeout() without setting runstate Just use schedule_timeout_interruptible(), saves a call to set_current_state(). Signed-off-by: Jens Axboe <jens.axboe@oracle.com> --- mm/page-writeback.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/mm/page-writeback.c b/mm/page-writeback.c index 1eea4fa..2585349 100644 --- a/mm/page-writeback.c +++ b/mm/page-writeback.c @@ -561,7 +561,7 @@ static void balance_dirty_pages(struct address_space *mapping) if (pages_written >= write_chunk) break; /* We've done our duty */ - schedule_timeout(1); + schedule_timeout_interruptible(1); } if (bdi_nr_reclaimable + bdi_nr_writeback < bdi_thresh && -- To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
