From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andi Kleen Subject: Re: question about softirqs Date: Wed, 13 May 2009 16:15:32 +0200 Message-ID: <20090513141532.GT19296@one.firstfloor.org> References: <18948.63755.279732.294842@cargo.ozlabs.ibm.com> <20090508.234815.127227651.davem@davemloft.net> <4A086DB2.8040703@nortel.com> <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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Andi Kleen , Ingo Molnar , Peter Zijlstra , Thomas Gleixner , Steven Rostedt , David Miller , linuxppc-dev@ozlabs.org, paulus@samba.org, netdev@vger.kernel.org To: Chris Friesen Return-path: Received: from one.firstfloor.org ([213.235.205.2]:37001 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752246AbZEMOKK (ORCPT ); Wed, 13 May 2009 10:10:10 -0400 Content-Disposition: inline In-Reply-To: <4A0AC9EC.6070908@nortel.com> Sender: netdev-owner@vger.kernel.org List-ID: > "If a soft irq is raised in process context, raise_softirq() in > kernel/softirq.c calls wakeup_softirqd() to make sure that ksoftirqd softirqd is only used when the softirq runs for too long or when there are no suitable irq exits for a long time. In normal situations (not excessive time in softirq) they don't do anything. -Andi -- ak@linux.intel.com -- Speaking for myself only. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from one.firstfloor.org (one.firstfloor.org [213.235.205.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 2CE94DDFD1 for ; Thu, 14 May 2009 00:10:15 +1000 (EST) Date: Wed, 13 May 2009 16:15:32 +0200 From: Andi Kleen To: Chris Friesen Subject: Re: question about softirqs Message-ID: <20090513141532.GT19296@one.firstfloor.org> References: <18948.63755.279732.294842@cargo.ozlabs.ibm.com> <20090508.234815.127227651.davem@davemloft.net> <4A086DB2.8040703@nortel.com> <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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <4A0AC9EC.6070908@nortel.com> Cc: Peter Zijlstra , netdev@vger.kernel.org, Steven Rostedt , David Miller , linuxppc-dev@ozlabs.org, Andi Kleen , paulus@samba.org, Ingo Molnar , Thomas Gleixner List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , > "If a soft irq is raised in process context, raise_softirq() in > kernel/softirq.c calls wakeup_softirqd() to make sure that ksoftirqd softirqd is only used when the softirq runs for too long or when there are no suitable irq exits for a long time. In normal situations (not excessive time in softirq) they don't do anything. -Andi -- ak@linux.intel.com -- Speaking for myself only.