Thank you for the review.
On 12/18/24 10:02 AM, Diego Nieto Cid wrote:
El mar, 17 dic 2024 a las 22:21, Zhaoming Luo () escribió:
The precision of this implmentation is 10ms. Not sure how to do with the
possible data race.
Signed-off-by: Zhaoming Luo
---
include/mach/mach_host.defs | 7 ++
El mar, 17 dic 2024 a las 22:21, Zhaoming Luo () escribió:
>
> The precision of this implmentation is 10ms. Not sure how to do with the
> possible data race.
>
> Signed-off-by: Zhaoming Luo
> ---
> include/mach/mach_host.defs | 7 +++
> kern/mach_clock.c | 20
>
The precision of this implmentation is 10ms. Not sure how to do with the
possible data race.
Signed-off-by: Zhaoming Luo
---
include/mach/mach_host.defs | 7 +++
kern/mach_clock.c | 20
2 files changed, 27 insertions(+)
diff --git a/include/mach/mach_host.def
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 +++--
This allocates a constant space for percpu gdts
and copies the first entry to the nth entry on each cpu,
then patches its own copy of the gdt so it can function
independently.
---
i386/i386/cpuboot.S | 63 ++---
1 file changed, 53 insertions(+), 10 deletions
Hi,
These two patches complete smp parallel init by preserving early gs access,
and makes the cpus all wake concurrently. Care has been taken so memory
is not trampled on by other cpus during startup.
Thanks,
Damien