From: Andrea Arcangeli <andrea@suse.de>
To: Ingo Molnar <mingo@elte.hu>
Cc: "David S. Miller" <davem@redhat.com>,
linux-kernel@vger.kernel.org, Alan Cox <alan@lxorguk.ukuu.org.uk>,
Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>
Subject: Re: [patch] severe softirq handling performance bug, fix, 2.4.5
Date: Sun, 27 May 2001 21:55:28 +0200 [thread overview]
Message-ID: <20010527215528.A731@athlon.random> (raw)
In-Reply-To: <20010527195619.K676@athlon.random> <Pine.LNX.4.33.0105272101480.5852-100000@localhost.localdomain>
In-Reply-To: <Pine.LNX.4.33.0105272101480.5852-100000@localhost.localdomain>; from mingo@elte.hu on Sun, May 27, 2001 at 09:05:50PM +0200
On Sun, May 27, 2001 at 09:05:50PM +0200, Ingo Molnar wrote:
>
> On Sun, 27 May 2001, Andrea Arcangeli wrote:
>
> > I mean everything is fine until the same softirq is marked active
> > again under do_softirq, in such case neither the do_softirq in do_IRQ
> > will run it (because we are in the critical section and we hold the
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> > per-cpu locks), nor we will run it again ourself from the underlying
^^^^^^^^^^^^^
> > do_softirq to avoid live locking into do_softirq.
>
> if you mean the stock kernel, this scenario you describe is not how it
Yes the stock kernel.
> behaves, because only IRQ contexts can mark a softirq active again. And
> those IRQ contexts will run do_IRQ() naturally, so while *this*
> do_softirq() invocation wont run those reactivated softirqs, the IRQ
> context that just triggered the softirq will do so.
it won't because the underlying do_softirq did local_bh_disable() and
the in_interrupt() check will cause the do_softirq from do_IRQ to return
immediatly.
Andrea
next prev parent reply other threads:[~2001-05-27 19:56 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-05-26 17:59 [patch] severe softirq handling performance bug, fix, 2.4.5 Ingo Molnar
2001-05-26 19:33 ` [patch] softirq-2.4.5-A1 Ingo Molnar
2001-05-27 17:12 ` Andrea Arcangeli
2001-05-27 19:08 ` Ingo Molnar
2001-05-27 20:05 ` Andrea Arcangeli
2001-05-28 1:17 ` Horst von Brand
2001-05-26 23:55 ` [patch] severe softirq handling performance bug, fix, 2.4.5 David S. Miller
2001-05-27 3:28 ` Albert D. Cahalan
2001-05-27 17:18 ` Andrea Arcangeli
2001-05-27 19:00 ` [patch] softirq-2.4.5-B0 Ingo Molnar
2001-05-27 19:15 ` David S. Miller
2001-05-27 19:19 ` Ingo Molnar
2001-05-27 17:07 ` [patch] severe softirq handling performance bug, fix, 2.4.5 Andrea Arcangeli
2001-05-27 17:17 ` David S. Miller
2001-05-27 17:56 ` Andrea Arcangeli
2001-05-27 19:05 ` Ingo Molnar
2001-05-27 19:55 ` Andrea Arcangeli [this message]
2001-05-27 21:00 ` Ingo Molnar
2001-05-28 19:26 ` kuznet
2001-05-27 19:09 ` David S. Miller
2001-05-27 20:24 ` Andrea Arcangeli
2001-06-10 10:40 ` Rusty Russell
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=20010527215528.A731@athlon.random \
--to=andrea@suse.de \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=davem@redhat.com \
--cc=kuznet@ms2.inr.ac.ru \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.