diff options
author | Eric Dumazet <edumazet@google.com> | 2014-08-06 16:06:25 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-08-06 18:01:18 -0700 |
commit | 660654f90e7f8f6d8163276d47fc1573a39c7007 (patch) | |
tree | 9e0f8ffede8d9b77fb6d425bf513aff6d069d3be /firmware/acenic | |
parent | 54980b93c026ac24b7d5046597a254244eafcdeb (diff) | |
download | linux-660654f90e7f8f6d8163276d47fc1573a39c7007.tar.bz2 |
mm/vmalloc.c: add a schedule point to vmalloc()
It is not uncommon on busy servers to get stuck hundred of ms in
vmalloc() calls (like file descriptor expansions).
Add a cond_resched() to __vmalloc_area_node() to be gentle to
other tasks.
[akpm@linux-foundation.org: only do it for __GFP_WAIT, per David]
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Hugh Dickins <hughd@google.com>
Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'firmware/acenic')
0 files changed, 0 insertions, 0 deletions