---
i386/i386at/ioapic.c | 15 ++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/i386/i386at/ioapic.c b/i386/i386at/ioapic.c
index 218f9a51..57d18789 100644
--- a/i386/i386at/ioapic.c
+++ b/i386/i386at/ioapic.c
@@ -33,7 +33,7 @@
#include
#include
-static int has_i
---
i386/i386at/ioapic.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/i386/i386at/ioapic.c b/i386/i386at/ioapic.c
index 57d18789..dcc91eff 100644
--- a/i386/i386at/ioapic.c
+++ b/i386/i386at/ioapic.c
@@ -32,6 +32,7 @@
#include
#include
#include
+#include
static int has_ir
This speeds up smp to approximately full speed of uniprocessor!
---
kern/sched_prim.c | 82 ++-
1 file changed, 2 insertions(+), 80 deletions(-)
diff --git a/kern/sched_prim.c b/kern/sched_prim.c
index 5ee0521a..cdb2ba27 100644
--- a/kern/sched_prim.c
This fixes a page fault when the sampling occurs in MP.
Perhaps it is not MP safe yet.
---
configfrag.ac| 2 +-
kern/pc_sample.c | 32
2 files changed, 17 insertions(+), 17 deletions(-)
diff --git a/configfrag.ac b/configfrag.ac
index 3c3ba3aa..290a1596 10064
With this patchset, your chances of getting a shell with smp is about 1/3.
Unfortunately, there is occasionally kernel traps when either booting,
or using the system, depending if you reach a login shell or not.
I was able to boot with -smp 3 and run "stress -c 3" for about 1 minute.
Then I ran "
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
https://youtu.be/bcWsrYvc5Fg
https://yewtu.be/watch?v=bcWsrYvc5Fg
lmk if you need this uploaded somewhere else in particular
Applied, thanks!
Damien Zammit, le ven. 29 sept. 2023 04:59:44 +, a ecrit:
> ---
> ddb/db_command.c | 1 +
> ddb/db_print.c| 27 +++
> ddb/db_print.h| 6 ++
> kern/sched_prim.h | 1 +
> 4 files changed, 35 insertions(+)
>
> diff --git a/ddb/db_command.