Re: [RFC PATCH 1/4] softirq: Limit vector to a single iteration on IRQ tail

From: Linus Torvalds
Date: Fri Jan 19 2018 - 13:25:18 EST


On Fri, Jan 19, 2018 at 8:16 AM, David Miller <davem@xxxxxxxxxxxxx> wrote:
>
> So this "get requeued" condition I think will trigger always for
> networking tunnel decapsulation.

Hmm. Interesting and a perhaps bit discouraging.

Will it always be just a _single_ level of indirection, or will double
tunnels (I assume some people do that, just because the universe is
out to get us) then result in this perhaps repeating several times?

Because it would be not very complicated to just have two bitmasks
(and still no per-softirq counting), and have that "switch to
threading only on the _second_ time this happens".

But let's have people test the behavior of this simpler model first?

Linus