Re: [PATCH] net: Adjust softirq raising in __napi_schedule

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Johannes Berg
Date: Monday, October 26, 2009 - 12:58 am

On Mon, 2009-10-26 at 07:54 +0000, Jarek Poplawski wrote:


Not for netpoll though, which may or may not be relevant (if I were to
venture a guess I'd say it isn't and it disables preemption to be able
to do the softirq thing)

However, I lost track now of why we're discussing this.

Basically it boils down to using netif_rx() when in (soft)irq, and
netif_rx_ni() when in process context. That could just be an
optimisation, but it's a very valid one.

johannes
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: NOHZ: local_softirq_pending 08, Jarek Poplawski, (Thu Oct 15, 4:40 am)
Re: NOHZ: local_softirq_pending 08, Jarek Poplawski, (Thu Oct 15, 10:53 am)
Re: NOHZ: local_softirq_pending 08, Tilman Schmidt, (Wed Oct 21, 11:46 am)
[PATCH] net: Adjust softirq raising in __napi_schedule, Jarek Poplawski, (Wed Oct 21, 2:19 pm)
Re: [PATCH] net: Adjust softirq raising in __napi_schedule, Tilman Schmidt, (Wed Oct 21, 2:37 pm)
Re: [PATCH] net: Adjust softirq raising in __napi_schedule, Jarek Poplawski, (Wed Oct 21, 2:39 pm)
Re: [PATCH] net: Adjust softirq raising in __napi_schedule, Jarek Poplawski, (Thu Oct 22, 5:54 am)
Re: NOHZ: local_softirq_pending 08, Tilman Schmidt, (Thu Oct 22, 4:37 pm)
Re: NOHZ: local_softirq_pending 08, Johannes Berg, (Fri Oct 23, 6:34 am)
Re: NOHZ: local_softirq_pending 08, Tilman Schmidt, (Fri Oct 23, 7:27 am)
Re: NOHZ: local_softirq_pending 08, Johannes Berg, (Fri Oct 23, 7:31 am)
Re: [PATCH] net: Adjust softirq raising in __napi_schedule, Tilman Schmidt, (Fri Oct 23, 7:39 am)
Re: NOHZ: local_softirq_pending 08, Tilman Schmidt, (Fri Oct 23, 9:33 am)
Re: [PATCH] net: Adjust softirq raising in __napi_schedule, Jarek Poplawski, (Mon Oct 26, 12:41 am)
Re: [PATCH] net: Adjust softirq raising in __napi_schedule, Johannes Berg, (Mon Oct 26, 12:44 am)
Re: [PATCH] net: Adjust softirq raising in __napi_schedule, Jarek Poplawski, (Mon Oct 26, 12:54 am)
Re: [PATCH] net: Adjust softirq raising in __napi_schedule, Johannes Berg, (Mon Oct 26, 12:58 am)
Re: [PATCH] net: Adjust softirq raising in __napi_schedule, Tilman Schmidt, (Mon Oct 26, 1:47 am)
Re: [PATCH] net: Adjust softirq raising in __napi_schedule, Tilman Schmidt, (Mon Oct 26, 5:52 pm)
Re: [PATCH] net: Adjust softirq raising in __napi_schedule, Johannes Berg, (Tue Oct 27, 12:01 am)