mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: alan@lxorguk.ukuu.org.uk (Alan Cox)
To: losi@altrimedia.it
Cc: linux-kernel@vger.rutgers.edu
Subject: Re: differences in between 2.0 and 2.1 SMP?
Date: Tue, 24 Nov 1998 00:29:16 +0000 (GMT)	[thread overview]
Message-ID: <m0zi6M1-0007U1C@the-village.bc.nu> (raw)
In-Reply-To: <36599C9E.D100032F@altrimedia.it> from "root" at Nov 23, 98 05:34:22 pm

> What are the architectural differences between SMP code in 2.0 and 2.1?
> I'm a very beginner kernel hacker and I'm still in the code grepping
> stage...
> it seems to me that only one of the CPUs can execute the kernel code...
> is that correct?

2.0.x only one CPU is _running_ in kernel at a time (others may be sleeping
on things but inside a kernel sleep). IRQs are forwarded to the CPU that
has the lock

2.1.x IRQs are taken on all CPUs spin locks guard data structures some kernel
subsystems are not subject to the main kernel lock at all


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

      reply	other threads:[~1998-11-24  5:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-11-23 17:34 root
1998-11-24  0:29 ` Alan Cox [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=m0zi6M1-0007U1C@the-village.bc.nu \
    --to=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@vger.rutgers.edu \
    --cc=losi@altrimedia.it \
    /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®