Eric Dumazet 660654f90e 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>
2014-08-06 18:01:18 -07:00
..
2014-08-06 18:01:16 -07:00
2012-01-03 22:54:56 -05:00
2014-06-04 16:54:05 -07:00
2011-07-26 16:49:47 -07:00
2014-08-06 18:01:16 -07:00
2014-05-06 17:39:45 -04:00
2014-01-27 21:02:39 -08:00
2014-06-23 16:47:43 -07:00
2012-06-20 14:39:36 -07:00
2014-08-06 18:01:15 -07:00