Re: [PATCH gnumach] kern/sched_prim: Simplify by not dispatching to idle cpu directly

2023-09-29 Thread Samuel Thibault
Damien Zammit, le ven. 29 sept. 2023 05:00:53 +, a ecrit: > This speeds up smp to approximately full speed of uniprocessor! Ok, but I don't think we want this. > diff --git a/kern/sched_prim.c b/kern/sched_prim.c > index 5ee0521a..cdb2ba27 100644 > --- a/kern/sched_prim.c > +++ b/kern/sched_p

[PATCH gnumach] kern/sched_prim: Simplify by not dispatching to idle cpu directly

2023-09-28 Thread Damien Zammit
This speeds up smp to approximately full speed of uniprocessor! Unfortunately, there is a general protection fault when booting. It seems to get a corrupt null stack pointer when returning with iret. --- kern/sched_prim.c | 82 ++- 1 file changed, 2 ins