Re: [net-next v2 8/8] i40e: Remove scheduling while atomic possibility

2020-06-23 Thread Jakub Kicinski
On Tue, 23 Jun 2020 17:22:52 -0700 Jeff Kirsher wrote: > From: Aleksandr Loktionov > > In some occasions task held spinlock, Which spin lock? > while being rescheduled due to mutex_lock. Which mutex? > Moved function call outside of atomic context. What function? > Without this patch ther

[net-next v2 8/8] i40e: Remove scheduling while atomic possibility

2020-06-23 Thread Jeff Kirsher
From: Aleksandr Loktionov 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 Signed-off