mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* differences in between 2.0 and 2.1 SMP?
@ 1998-11-23 17:34 root
  1998-11-24  0:29 ` Alan Cox
  0 siblings, 1 reply; 2+ messages in thread
From: root @ 1998-11-23 17:34 UTC (permalink / raw)
  To: linux-kernel

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?
	Sorry for the dumb question 
	Thanks
		Paolo

-
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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: differences in between 2.0 and 2.1 SMP?
  1998-11-23 17:34 differences in between 2.0 and 2.1 SMP? root
@ 1998-11-24  0:29 ` Alan Cox
  0 siblings, 0 replies; 2+ messages in thread
From: Alan Cox @ 1998-11-24  0:29 UTC (permalink / raw)
  To: losi; +Cc: linux-kernel

> 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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1998-11-24  5:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-11-23 17:34 differences in between 2.0 and 2.1 SMP? root
1998-11-24  0:29 ` Alan Cox

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®