Re: SMP-Linux

John W. M. Stevens (john@betelgeuse.us)
Mon, 10 Feb 2003 09:08:48 -0700


On Tue, Feb 11, 2003 at 02:36:48AM +1100, James Buchanan wrote:
> Is it possible to design a SMP-Linux kernel with architecture
> independent SMP support, for example, like the VFS provides an
> interface to specific filesystems, the "VSMP" can provide an
> architecture independent way to support SMP?

Why stop there? Why not make a complete hardware abstraction layer?

Oh, by the way, I have two words for you:

DUCK!

:-)

> There can be a function
> that does the spinlock stuff and underneath is a machine dependent
> implementation (this is already done for x86, what about other MP
> capable architectures?), and same for the scheduler. Lots of other
> stuff like TLB issues and so on would have to be taken care of as
> well. I'm no expert on SMP so I don't really know if a "virtual" SMP
> support is possible in the way I am describing it.

What you are describing sounds very much like a Virtual Machine.

Been there, done that, and it does have some benefits.

Good Luck,
John S.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/