lkml.org 
[lkml]   [2018]   [Jan]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [RFC PATCH 1/4] softirq: Limit vector to a single iteration on IRQ tail
From
From: Frederic Weisbecker <frederic@kernel.org>
Date: Fri, 19 Jan 2018 16:46:11 +0100

> For now, vectors that get re-enqueued trigger ksoftirqd but they are
> going to be handled by per-vector workqueues on subsequent patches.

Frederic, first of all, thanks for doing all of this work.

So this "get requeued" condition I think will trigger always for
networking tunnel decapsulation.

Each decap will (eventually) do a:

__raise_softirq_irqoff(NET_RX_SOFTIRQ);

via ____napi_schedule() in net/core/dev.c

Example code path:

ip_tunnel_rcv()
gro_cells_receive()
napi_schedule()
__napi_schedule()
____napi_schedule();
__raise_softirq_irqoff(NET_RX_SOFTIRQ);

Anyways, just FYI...

\
 
 \ /
  Last update: 2018-01-19 17:16    [W:0.211 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site