[Intel-wired-lan] [next-queue v2] i40e: Remove scheduling while atomic possibility
Bowers, AndrewX
andrewx.bowers at intel.com
Thu Jun 4 19:15:03 UTC 2020
> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of
> Jeff Kirsher
> Sent: Friday, May 29, 2020 2:11 PM
> To: intel-wired-lan at lists.osuosl.org
> Cc: Loktionov, Aleksandr <aleksandr.loktionov at intel.com>
> Subject: [Intel-wired-lan] [next-queue v2] i40e: Remove scheduling while
> atomic possibility
>
> From: Aleksandr Loktionov <aleksandr.loktionov at intel.com>
>
> In some occasions task held spinlock, while being rescheduled due to
> mutex_lock. Moved function call outside of atomic context. Without this
> patch there is a race condition, which might result in scheduling while atomic.
>
> Signed-off-by: Arkadiusz Kubalewski <arkadiusz.kubalewski at intel.com>
> Signed-off-by: Aleksandr Loktionov <aleksandr.loktionov at intel.com>
> ---
> v2: fixed trailing whitespace
>
> .../ethernet/intel/i40e/i40e_virtchnl_pf.c | 222 +++++++++++-------
> 1 file changed, 135 insertions(+), 87 deletions(-)
Tested-by: Andrew Bowers <andrewx.bowers at intel.com>
More information about the Intel-wired-lan
mailing list