diff options
author | Wu Fengguang <fengguang.wu@intel.com> | 2010-12-22 02:24:21 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-12-23 04:43:33 +0100 |
commit | d153ba64450b9371158c6516d6cac120faace44c (patch) | |
tree | 78bb90ade76b84312e1e332a02021eb8eb1cda42 /drivers/gpio/gpiolib.c | |
parent | logfs: fix "Kernel BUG at readwrite.c:1193" (diff) | |
download | linux-d153ba64450b9371158c6516d6cac120faace44c.tar.xz linux-d153ba64450b9371158c6516d6cac120faace44c.zip |
writeback: do uninterruptible sleep in balance_dirty_pages()
Using TASK_INTERRUPTIBLE in balance_dirty_pages() seems wrong. If it's
going to do that then it must break out if signal_pending(), otherwise
it's pretty much guaranteed to degenerate into a busywait loop. Plus we
*do* want these processes to appear in D state and to contribute to load
average.
So it should be TASK_UNINTERRUPTIBLE. -- Andrew Morton
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/gpio/gpiolib.c')
0 files changed, 0 insertions, 0 deletions