bug-hurd
[Top][All Lists]
Advanced

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

Re: [PATCH 2/5 gnumach] i386: Refactor int stacks to be per cpu for SMP


From: Samuel Thibault
Subject: Re: [PATCH 2/5 gnumach] i386: Refactor int stacks to be per cpu for SMP
Date: Sat, 4 Feb 2023 09:03:53 +0100
User-agent: NeoMutt/20170609 (1.8.3)

Damien Zammit, le sam. 04 févr. 2023 01:32:02 +0000, a ecrit:
> On 4/2/23 12:27, Almudena Garcia wrote:
> > But, added to interrupt stacks, the APs needs their own stacks once these 
> > are running, to store data of the process which are executing.
> 
> I thought this kind of stack is dynamically allocated by the thread manager 
> (?)

There is one stack per thread, yes. At worse CPUs will execute their
idle thread, which has its own stack too. These are created from
start_kernel_threads.

Samuel



reply via email to

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