Skip to content
Commit 5f4fd311 authored by Dmytro Firsov's avatar Dmytro Firsov Committed by Anas Nashif
Browse files

xenvm: evtchn: use proper barrier during events handling



This commit fixes barrier usage in Xen event channel driver. Previously
compiler_barrier() was used and it did not prevent processor from
re-ordering of the write operations, that is needed for correct event
handling. It is now changed to data memory barrier (dmb()), which will
work as expected in this situation.

Thanks @jgrall for suggestion.

Signed-off-by: default avatarDmytro Firsov <dmytro_firsov@epam.com>
parent 1c1c72ea
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment