Re: [PATCH v3 gnumach] percpu area using gs segment

2023-09-26 Thread Richard Braun
On Sun, Sep 24, 2023 at 12:31:20AM +0200, Samuel Thibault wrote: > For an inline to actually get optimized, you have to put it in the .h > file, otherwise the compiler won't be able to inline it at all since it > won't have the definition when compiling other .c files. It could be a good thing to

Re: [PATCH v3 gnumach] percpu area using gs segment

2023-09-23 Thread Samuel Thibault
Damien Zammit, le sam. 23 sept. 2023 10:57:08 +, a ecrit: > diff --git a/i386/i386/cpu_number.c b/i386/i386/cpu_number.c > index ef19e11f..83c86d82 100644 > --- a/i386/i386/cpu_number.c > +++ b/i386/i386/cpu_number.c > @@ -20,11 +20,17 @@ > #include > #include > #include > +#include > #