aboutsummaryrefslogtreecommitdiff
path: root/include/linux/ceph/msgpool.h
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2014-08-06 16:06:25 -0700
committerMoyster <oysterized@gmail.com>2019-05-02 21:10:32 +0200
commitdb0ba484ab756d543111acfb91419bee47793b79 (patch)
treef9257372a78dc05c1974660e8dbb0e8fc3cc9251 /include/linux/ceph/msgpool.h
parent0e116b700531318237a69ad2d0374b22d155c229 (diff)
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> Change-Id: Ia77a022dc0ab628038ad6cff9fc555f369e44064 (cherry picked from commit 6d99b20b413075cc1c8babb68fa3f33cf5f7cb2e)
Diffstat (limited to 'include/linux/ceph/msgpool.h')
0 files changed, 0 insertions, 0 deletions