bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How do I learn the Hurd stuff?


From: Almudena Garcia
Subject: Re: How do I learn the Hurd stuff?
Date: Thu, 30 Aug 2018 18:58:19 +0200

That's not what I meant. Please improve your English.

Excuse me, I'm trying to improve my English, hahaha.

You're heavily misusing words here. You're not talking about a "hardware
SMP implementation", just asking the system how many processors it has.
That's a very tiny detail among all that's required to write a decent
scalable SMP kernel.

Not, It's not true. The detect how many processors have the machine It's only a little piece of the project.

I want to add a code what, in case of has more than one processor, initialize the CPU enabling multiprocessor support.
Currently, Mach doesn't initialize the multiprocessor in the CPU when detecting more than one core. Instead, It feels to use a strange implementation to do multithreading (not real multiprocessor) via software.

Then, I want to enable this real multiprocessor support, enabling in the CPU initialization during Mach boot.


El jue., 30 ago. 2018 a las 18:24, Richard Braun (<rbraun@sceen.net>) escribió:
On Thu, Aug 30, 2018 at 06:15:28PM +0200, Almudena Garcia wrote:
> It's not only a test. Obviously, It must start as a test, but I want to add
> this to Hurd if runs.
>
>
>
> El jue., 30 ago. 2018 a las 18:02, Richard Braun (<rbraun@sceen.net>)
> escribió:
>
> > On Thu, Aug 30, 2018 at 05:53:42PM +0200, Almudena Garcia wrote:
> > > I've said It yet.
> > >
> > > > As this
> > > > form, we don't need to know how many cores has the processor and set
> > the
> > > > core number in Mach in compilation time. Instead, the same processor
> > will
> > > > detect the cores number and configure SMP automatically.
> > >
> > > I don't know the exact assembly instructions, but I read about the
> > > processor can be configured from assembly to run in multicore mode.
> > > Then, what we had to do is to write a routine that initializes the
> > > processor with this multicore support, during Mach boot.
> > >
> > > In this guide, in Chapter 8.4 feels to be a better explanation about how
> > to
> > > do this (initialization example in 8.4.4):
> > >
> > https://www.intel.com/content/www/us/en/architecture-and-technology/64-ia-32-architectures-software-developer-vol-3a-part-1-manual.html
> >
> > Oh, so it's merely runtime probing.

That's not what I meant. Please improve your English.

You're heavily misusing words here. You're not talking about a "hardware
SMP implementation", just asking the system how many processors it has.
That's a very tiny detail among all that's required to write a decent
scalable SMP kernel.

--
Richard Braun

reply via email to

[Prev in Thread] Current Thread [Next in Thread]