OGAWA Hirofumi 061e97469f Add balance_dirty_pages_ratelimited() to cont_expand_zero()
On the systems, ftruncate() which expand size for FAT became the cause
of OOM.  The cont_expand_zero() filled all memory with dirty pages,
and since disk is very slow, limit of page scanning was exceeded, then
it triggered OOM.

This adds balance_dirty_pages_ratelimited() to avoid filling memory
with dirty pages.

Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-04-28 08:58:47 -07:00
..
2008-03-04 14:47:06 -08:00
2008-04-28 08:58:47 -07:00
2008-04-28 08:58:18 -07:00
2008-03-19 06:42:18 -04:00
2008-03-30 14:18:41 -07:00
2008-04-28 08:58:22 -07:00
2008-03-30 14:18:41 -07:00
2008-04-28 08:58:46 -07:00
2008-04-28 08:58:45 -07:00
2008-04-25 09:24:05 -04:00
2008-04-21 22:15:06 +00:00