[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
- [PATCH 5/5 gnumach] linux: Skip probing IDE when 255 phys heads detected, (continued)
[PATCH 3/5 gnumach] linux: No need to init PIT timer twice, Damien Zammit, 2023/02/01
Re: [PATCH 0/5 gnumach] Progress with SMP revisited, Almudena Garcia, 2023/02/01