we will see. this is a research operating system for a reason.
Exactly. 'Silly-SMP' is a project to determine "What are the minimal changes needed to AROS to support 'full' SMP? Is it even possible?"
I had a bit of insight (misguided, and missing a lot of details, but I think pointing in the right direction) and I decided that, instead of just talking about possible design ideas, that "the code will prove out".
As of now, I can get a simulated dual-CPU system up on AROS hosted on Linux x86_64 (25% of the time - the other 75% of the time it crashes on boot).
Is it ready for prime time? No.
Is it ready for inclusion in AROS ABIv1? No.
Is it even ready for testers? No.
This is Research with a capital 'R'.
But that '25% of the time' _does_ show that a full SMP system on AROS is possible.
Lots of debugging, testing, more experimentation, etc etc. is needed.
But it is possible.
So far, the only 'user visible' changes are that some fields in
SysBase are NULL or zero, that previously had values:
* ThisTask is NULL (this is now per-CPU)
- You should have been using FindTask(NULL) anyway!
* Elapsed/IdleCount/DispCount is 0 (this is now per-CPU)
- We (AROS) need to make an API to retrieve this per-CPU
* AttnResched/SysFlags changed
- But you shouldn't have been using this anyway!
Strict priority scheduling is (currently) not strict at all, and I and Michal Schulz are experimenting with what that breaks in application-land, and if we really need to fix it.
The 'm68k changes' you see in the repository are for making sure unicore m68k still works - not for adding m68k multicore support.
But if someone *did* make a SMP m68k processor, there are MMU tricks that can be used to 'magically fix' the altered SysBase fields for pre-existing m68k programs - so compatibility is with AmigaOS 3.x is still possible.
For you Morphos/AmigsOS developers - if you would like to bounce ideas off of me with respect to adding SMP to your operating system of choice, feel free to contact me, or just silently watch my 'silly-smp' branch on gitorious.org
AROS (in my humble option) is here for the betterment of all AmigaOS-alike operating systems. We blaze the trail to the unexplored lands.