Re: [PATCH v3 2/4 gnumach] smp: Parallel SMP init

2024-12-21 Thread Samuel Thibault
Hello, Damien Zammit via Bug reports for the GNU Hurd, le sam. 21 déc. 2024 23:55:25 +, a ecrit: > @@ -341,12 +312,16 @@ start_other_cpus(void) > lapic_disable(); > > bspdone = 0; > + > + /* This is set once for all APs to use */ > + pmap_make_temporary_mapping(); > + >

[PATCH v3 2/4 gnumach] smp: Parallel SMP init

2024-12-21 Thread Damien Zammit via Bug reports for the GNU Hurd
Now that things are in place, we switch to parallel init. The key to this change is that the INIT/STARTUP sequence is done in one step, and all cpus wake up at the same time. Synchronisation is done to complete each cpu setup individually. --- i386/i386/mp_desc.c | 51 +++--