diff options
author | Wu Fengguang <[email protected]> | 2010-12-21 17:24:21 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2010-12-22 19:43:33 -0800 |
commit | d153ba64450b9371158c6516d6cac120faace44c (patch) | |
tree | 78bb90ade76b84312e1e332a02021eb8eb1cda42 /net/unix/sysctl_net_unix.c | |
parent | f06328d7721ad3852c45eb2a10a0c8f9439b5f33 (diff) |
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 <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions