[PATCH -next 0/6] treewide: Remove redundant branch predictions around signal_pending family
From: Davidlohr Bueso
Date: Thu Nov 15 2018 - 19:28:05 EST
Hi,
This series trivially gets rid of users of signal_pending (and family) explicitly
wrapping the call around an unlikely(). It is redundant as internally this is
already done for us via signal_pending() and [__]fatal_signal_pending().
All patches are independent, so I split it up in case folks want to pick up bits
separately.
Compile tested only. Please consider for v4.21.
Thanks!
Davidlohr Bueso (6):
locking/mutex: Remove caller signal_pending branch predictions
kernel/sched: Remove caller signal_pending branch predictions
arch/arc: Remove caller signal_pending_branch predictions
mm: Remove caller signal_pending branch predictions
drivers/i2c: Remove caller signal_pending branch predictions
fs: Remove caller signal_pending branch predictions
arch/arc/mm/fault.c | 2 +-
drivers/i2c/busses/i2c-ibm_iic.c | 2 +-
fs/afs/fs_probe.c | 2 +-
fs/afs/vl_probe.c | 2 +-
fs/buffer.c | 2 +-
fs/exec.c | 4 ++--
fs/orangefs/orangefs-bufmap.c | 2 +-
kernel/locking/mutex.c | 2 +-
kernel/sched/core.c | 2 +-
kernel/sched/swait.c | 2 +-
kernel/sched/wait.c | 2 +-
mm/filemap.c | 2 +-
mm/gup.c | 2 +-
mm/hugetlb.c | 2 +-
14 files changed, 15 insertions(+), 15 deletions(-)
--
2.16.4