Re: [PATCH RT] net: move xmit_recursion to per-task variable on -RT
From: Eric Dumazet
Date: Thu Jan 14 2016 - 17:20:14 EST
On Thu, 2016-01-14 at 23:02 +0100, Hannes Frederic Sowa wrote:
> We are just adding a second recursion limit solely to openvswitch which
> has the same problem:
> This time also we depend on rcu_read_lock marking the section being
> nonpreemptible. Nice would be a more generic solution here which doesn't
> need to always add something to *current.
Note that rcu_read_lock() does not imply that preemption is disabled.