mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-01 08:56:45 +07:00
fee787129d
Driver does not detect a new CQE (completion queue entry) if a thread receives the wakup when it is in TASK_RUNNING state. Fix is to set the state to TASK_INTERRUPTIBLE while holding the fp_work_lock. Also, Use __set_current_task() since it is now set inside a spinlock with synchronization. Two other related optimizations: 1. After we exit the while (!kthread_should_stop()) loop, use __set_current_state() since synchronization is no longer needed. 2. Remove set_current_state(TASK_RUNNING) after schedule() since it should always be TASK_RUNNING after schedule(). Reviewed-by: Michael Chan <mchan@broadcom.com> Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de> |
||
---|---|---|
.. | ||
57xx_hsi_bnx2fc.h | ||
bnx2fc_constants.h | ||
bnx2fc_debug.h | ||
bnx2fc_els.c | ||
bnx2fc_fcoe.c | ||
bnx2fc_hwi.c | ||
bnx2fc_io.c | ||
bnx2fc_tgt.c | ||
bnx2fc.h | ||
Kconfig | ||
Makefile |