“cc6c98485f8e61fb3d6c51821fc75384e5a3a9c3”上不存在“arch/riscv/git@gitcode.net:openharmony/kernel_linux.git”
arch/tile: use atomic exchange in arch_write_unlock()
This idiom is used elsewhere when we do an unlock by writing a zero,
but I missed it here. Using an atomic operation avoids waiting
on the write buffer for the unlocking write to be sent to the home cache.
Signed-off-by: NChris Metcalf <cmetcalf@tilera.com>
Showing
想要评论请 注册 或 登录