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/