From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andi Kleen Subject: Re: question about softirqs Date: Wed, 13 May 2009 19:01:22 +0200 Message-ID: <20090513170122.GZ19296@one.firstfloor.org> References: <20090511.162436.193717082.davem@davemloft.net> <4A08C62F.1050105@nortel.com> <20090512081237.GA16403@elte.hu> <4A09933B.8010606@nortel.com> <874ovpmmdq.fsf@basil.nowhere.org> <4A0AC9EC.6070908@nortel.com> <20090513141532.GT19296@one.firstfloor.org> <87my9hkrmw.fsf@basil.nowhere.org> <4A0AE19D.9040509@nortel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: Peter Zijlstra , netdev@vger.kernel.org, Ingo Molnar , Steven Rostedt , linuxppc-dev@ozlabs.org, Andi Kleen , paulus@samba.org, Thomas Gleixner , David Miller To: Chris Friesen Return-path: Content-Disposition: inline In-Reply-To: <4A0AE19D.9040509@nortel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linuxppc-dev-bounces+glppe-linuxppc-embedded-2=m.gmane.org@ozlabs.org Errors-To: linuxppc-dev-bounces+glppe-linuxppc-embedded-2=m.gmane.org@ozlabs.org List-Id: netdev.vger.kernel.org On Wed, May 13, 2009 at 09:05:01AM -0600, Chris Friesen wrote: > Andi Kleen wrote: > > Thomas Gleixner writes: > > >>Err, no. Chris is completely correct: > >> > >> if (!in_interrupt()) > >> wakeup_softirqd(); > > > > Yes you have to wake it up just in case, but it doesn't normally > > process the data because a normal softirq comes in faster. It's > > just a safety policy. > > What about the scenario I raised earlier, where we have incoming network > packets, network packets are normally processed by the network packet interrupt's softirq or alternatively in the NAPI poll loop. -Andi -- ak@linux.intel.com -- Speaking for myself only.