bug-hurd
[Top][All Lists]
Advanced

[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



reply via email to

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