Skip to content
Commit e1f71f98 authored by Masayuki Ishikawa's avatar Masayuki Ishikawa
Browse files

sched/semaphore/spinlock.c: Add memory barrier operations in spin_unlock()



In ARM document regarding memory barrires, SP_DMB() must be issued
before changing a spinlock state to SP_UNLOCKED. However, we found
that SP_DSB() is also needed to ensure that spin_unlock() works
correctly for network streaming aging test.

Signed-off-by: default avatarMasayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
parent 5414d681
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment