[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20141002.134346.2291749763304558513.davem@davemloft.net>
Date: Thu, 02 Oct 2014 13:43:46 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: sowmini.varadhan@...cle.com
Cc: raghuram.kothakota@...cle.com, netdev@...r.kernel.org
Subject: Re: [PATCH net-next 0/2] sunvnet: Packet processing in
non-interrupt context.
From: Sowmini Varadhan <sowmini.varadhan@...cle.com>
Date: Thu, 2 Oct 2014 16:12:03 -0400
> The patch is attached to the end of this email.
There are an explosion of simplifications and optimizations
possilbe once you've done a NAPI conversion, which I haven't
seen you perform here in this patch.
For example, you can now move everything into software IRQ context,
just disable the VIO interrupt and unconditionally go into NAPI
context from the VIO event.
No more irqsave/irqrestore.
Then the TX path even can run mostly lockless, it just needs
to hold the VIO lock for a minute period of time. The caller
holds the xmit_lock of the network device to prevent re-entry
into the ->ndo_start_xmit() path.
Really, what you've done here as a NAPI conversion is just the
beginning.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists