On 06/29/18 03:48, Dong, Eric wrote:
> Hi Laszlo,
>
>> -----Original Message-----
>> From: Laszlo Ersek [mailto:[email protected]]

>> I'm currently missing a good understanding of how these counters are
>> modified. They are all qualified "volatile", which suggests they are
>> accessed from multiple processors. Is that correct?
>
> No, actually only FinishedCount is changed by BSP and Aps, other two
> are only changed by BSP. StartCount stands for the AP count which will
> do the task. It is calculated by BSP before Aps start the task.
> RunningCount stands for the AP count which have finished the task. It
> also detected and changed by BSP.

> I will update the patch to remove the volatile for RunningCount.

Highly appreciated!
Laszlo
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to