Help with SMP work refactor

2020-06-18 Thread Almudena Garcia
Hi all: I need a bit of help in my SMP development, mainly in advice about code style and structures. Currently, I'm rewriting the first step: cpus detection and numeration. My work is in these files The search of APIC table in ACPI tables is here https://github.com/AlmuHS/GNUMach_SMP/blob/smp-

Re: SMP work

2019-12-15 Thread Almudena Garcia
> That's really not supposed to happen. It could be useful to put printfs > in thread_setrun in the if ((processor = th->bound_processor) == > PROCESSOR_NULL) case, which is not supposed to happen, to determine > when we are actually getting there with such case. Excuse me the delay. After add pri

Re: SMP work

2019-11-15 Thread Almudena Garcia
> That's really not supposed to happen. It could be useful to put printfs > in thread_setrun in the if ((processor = th->bound_processor) == > PROCESSOR_NULL) case, which is not supposed to happen, to determine > when we are actually getting there with such case. Interesting tip. I'll try to exper

Re: SMP work

2019-11-14 Thread Samuel Thibault
Hello, Just a Re: on some IRC discussion. We were trying to set bound_processor by default to cpu0 to make sure that everything happens on just one cpu by default, to put things on cpu1 progressively. But that was leading to ext2fs hanging. At some point it was mentioned that “sometimes, default