diff options
| author | Andrew Morton <akpm@digeo.com> | 2003-03-28 03:19:09 -0800 |
|---|---|---|
| committer | Dave Jones <davej@tetrachloride.(none)> | 2003-03-28 03:19:09 -0800 |
| commit | 70fa2a42d668a61bb9373f60300317695ba0db0a (patch) | |
| tree | f1c870224692a01c0d56a348bf7bd570453d8e27 /include | |
| parent | 65ce13e2641e06038fa3a10aab648750cdd3b191 (diff) | |
[PATCH] handle oom in tmpfs
From: Hugh Dickins <hugh@veritas.com>
move_from_swap_cache and add_to_page_cache_lru are using GFP_ATOMIC,
which can easily fail in an intermittent way. Rude if shmem_getpage
then fails with -ENOMEM: use blk_congestion_wait() to let kswapd in,
and repeat.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
