mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kuznet@ms2.inr.ac.ru
To: davem@redhat.com (David S. Miller)
Cc: andrea@suse.de, paulus@samba.org, torvalds@transmeta.com,
	alan@lxorguk.ukuu.org.uk, mingo@elte.hu,
	linux-kernel@vger.kernel.org
Subject: Re: softirq in pre3 and all linux ports
Date: Thu, 21 Jun 2001 20:58:07 +0400 (MSK DST)	[thread overview]
Message-ID: <200106211658.UAA14133@ms2.inr.ac.ru> (raw)
In-Reply-To: <15153.8005.551628.544731@pizda.ninka.net> from "David S. Miller" at Jun 20, 1 03:10:13 pm

Hello!

> TUX also has per-cpu timers patch of Ingo as well.
> Did you forget this? :-)

If I remember correctly, it has threaded timer pool, but timers still acquire
global bh lock, so that the things become only worse. Apparently,
it is invisible at first sight because bulk work typical for tux and triggered
by timers, is moved to cpu local tasklets (garbage collection: time wait etc.).


> It is equivalent to some old dumb code doing cli() right?

Sort of.


> The only interesting global BHs left right now are:
> 
> 1) Timers
> 2) SCSI BH

In generic server case, yes.

But also add BH_IMMEDIATE and BHs, used by hordes of devices.


> Timers have no hard technical reason for not being a softirq
> either.  However, this would be work requiring real thought,
> not just mindless edits.

Yes.

But, in any case, global BHs are not a pathalogy: they were handy tool,
allowing to hide lots of spinlocks. And not plain spinlocks, but
asynchronous ones. It was pretty light, but had latency up to 1/HZ
in the worst case. Now they have unreasonably strict latency
(useless, as rule) but eat cpu instead.

Alexey

  parent reply	other threads:[~2001-06-21 16:59 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-19 19:03 Andrea Arcangeli
2001-06-20  3:33 ` Paul Mackerras
2001-06-20  3:54   ` Andrea Arcangeli
2001-06-20  4:00   ` David S. Miller
2001-06-20  4:07     ` Andrea Arcangeli
2001-06-20 18:06       ` kuznet
2001-06-20 22:10       ` David S. Miller
2001-06-20 23:16         ` Andrea Arcangeli
2001-06-21 16:58         ` kuznet [this message]
2001-06-20 12:18   ` Paul Mackerras
2001-06-20 12:52     ` Andrea Arcangeli
2001-06-20 18:16   ` kuznet

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=200106211658.UAA14133@ms2.inr.ac.ru \
    --to=kuznet@ms2.inr.ac.ru \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=andrea@suse.de \
    --cc=davem@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=paulus@samba.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

all inboxes | Powered by JetHome®