Re: [PATCH net-next] net: sched: Avoid using yield() in a busy waiting loop

2019-10-12 Thread Sergei Shtylyov
Hello! On 10/11/2019 08:15 PM, Sebastian Andrzej Siewior wrote: > From: Marc Kleine-Budde > > With threaded interrupts enabled, the interrupt thread runs as SCHED_RR > with priority 50. If a user application with a higher priority preempts > the interrupt thread and tries to shutdown the networ

[PATCH net-next] net: sched: Avoid using yield() in a busy waiting loop

2019-10-11 Thread Sebastian Andrzej Siewior
From: Marc Kleine-Budde With threaded interrupts enabled, the interrupt thread runs as SCHED_RR with priority 50. If a user application with a higher priority preempts the interrupt thread and tries to shutdown the network interface then it will loop forever. The kernel will spin in the loop wait