[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/4] i386: Fix lapic and ioapic for smp
From: |
Samuel Thibault |
Subject: |
Re: [PATCH 2/4] i386: Fix lapic and ioapic for smp |
Date: |
Tue, 15 Nov 2022 02:20:55 +0100 |
User-agent: |
NeoMutt/20170609 (1.8.3) |
Almudena Garcia, le mar. 15 nov. 2022 01:48:52 +0100, a ecrit:
> > Again, we need a memory barrier, to prevent the compiler from emitting
> these writes in the wrong order.
>
> Really, these writes are using a temporary struct.
> There are a only write to the real register, which is done assigning
> the temporary struct to the real register through the HALĀ
Ah, it's just the content that's written, not a pointer to it, OK.
Samuel
[PATCH 3/4] Add cpu_number and cpuboot, Damien Zammit, 2022/11/11
[PATCH 4/4] i386: Refactor int stacks to be per cpu for SMP, Damien Zammit, 2022/11/11