diff options
| author | Pavel Begunkov <asml.silence@gmail.com> | 2021-05-17 14:30:12 +0100 |
|---|---|---|
| committer | Thomas Gleixner <tglx@linutronix.de> | 2021-05-25 17:30:15 +0200 |
| commit | a82adc7650044b5555d65078bda07866efa4a73d (patch) | |
| tree | 30df6594ac94489559ca330b1ecd412f4316d1cc /net/lapb/lapb_iface.c | |
| parent | f4addd54b1617067f735ad194a3580a2db7b8bf5 (diff) | |
futex: Deduplicate cond_resched() invocation in futex_wake_op()
After pagefaulting in futex_wake_op() both branches do cond_resched()
before retry. Deduplicate it as compilers cannot figure it out themself.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Davidlohr Bueso <dbueso@suse.de>
Link: https://lore.kernel.org/r/9b2588c1fd33c91fb01c4e348a3b647ab2c8baab.1621258128.git.asml.silence@gmail.com
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions
