diff options
author | Davidlohr Bueso <dave@stgolabs.net> | 2019-01-04 00:28:55 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-01-04 22:13:48 +0100 |
commit | fa45f1162f28cbba6c38180647b7b300f317ecb4 (patch) | |
tree | ecfb954c6bcaef55651e80e59e1e2d560b39164f /mm/gup.c | |
parent | arch/arc/mm/fault.c: remove caller signal_pending_branch predictions (diff) | |
download | linux-fa45f1162f28cbba6c38180647b7b300f317ecb4.tar.xz linux-fa45f1162f28cbba6c38180647b7b300f317ecb4.zip |
mm/: remove caller signal_pending branch predictions
This is already done for us internally by the signal machinery.
Link: http://lkml.kernel.org/r/20181116002713.8474-5-dave@stgolabs.net
Signed-off-by: Davidlohr Bueso <dave@stgolabs.net>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/gup.c')
-rw-r--r-- | mm/gup.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -727,7 +727,7 @@ retry: * If we have a pending SIGKILL, don't keep faulting pages and * potentially allocating memory. */ - if (unlikely(fatal_signal_pending(current))) { + if (fatal_signal_pending(current)) { ret = -ERESTARTSYS; goto out; } |