public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: C Hanish Menon <hanishkvc@yahoo.com>
To: Andi Kleen <ak@suse.de>
Cc: linux-kernel@vger.kernel.org, Alan Cox <alan@lxorguk.ukuu.org.uk>,
	Linus Torvalds <torvalds@transmeta.com>
Subject: Re: Seems like a race or unhandled situation with ksoftirqd scheduling/management - Oops missed the control flow in the generic irq.c as most targets use their own irq.c
Date: Wed, 22 May 2002 00:30:13 +0530	[thread overview]
Message-ID: <3CEA993D.5060705@yahoo.com> (raw)
In-Reply-To: <3CEA8742.2040308@yahoo.com.suse.lists.linux.kernel> <p73hel1xswv.fsf@oldwotan.suse.de>

Hi Andi

Andi Kleen wrote:
> At least i386 runs the softirqs at the end of do_IRQ.
> 
> ksoftirqd is just supposed to be a fallback mechanism for the case
> of soft irqs eating excessive runtime or one softirq triggering another
> (common case is networking and serial softirq for BH). It is not
> the primary way to run softirqs.

Oops, You are right, i386 and also the generic mips irq.c has code in
do_IRQ to call do_softirq.

But most of the target specific irq.c in mips, don't seem to follow this 
convention. Even when I started my port, I had based my interrupt 
subsystem after looking into some of these target specific irq.c's.

So I was expecting this call to softirqs occuring from within 
kernel/entry.S after ret_from_irq. And as there is no code there to this
end, I came to my flawed conclusion.

Sorry about this wrong assumption.
I have got the solution to my problem. However have to check out with 
the mips target guys has to how they are taking care of softirqs. When
they aren't calling do_softirq from do_IRQ or any other part of 
interrupt subsystem.

Keep :-)
HanishKVC



      reply	other threads:[~2002-05-21 18:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <3CEA8742.2040308@yahoo.com.suse.lists.linux.kernel>
2002-05-21 18:22 ` Seems like a race or unhandled situation with ksoftirqd scheduling/management Andi Kleen
2002-05-21 19:00   ` C Hanish Menon [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3CEA993D.5060705@yahoo.com \
    --to=hanishkvc@yahoo.com \
    --cc=ak@suse.de \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@transmeta.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox