diff options
| author | OGAWA Hirofumi <[email protected]> | 2008-04-28 02:16:28 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2008-04-28 08:58:47 -0700 |
| commit | 061e97469f46f924cf14bbf1dd4805b46986691a (patch) | |
| tree | f89bae50777ff9d7a8dc917342f55218de132166 /scripts/stackusage | |
| parent | e69be4c9c4ac1b6bb6380512557da0afa6262e98 (diff) | |
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 <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions