mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
userland/arch/aarch64/inline_asm/futex_sev.cpp
This commit is contained in:
@@ -18804,6 +18804,10 @@ so we conclude that:
|
||||
|
||||
Therefore, a WFE in userland is treated much like a busy loop by the Linux kernel: the kernel does not seem to try and explicitly make up room for other processes as would happen on a futex.
|
||||
|
||||
The following test checks that SEV events don't wake up a futexes, running forever in case of success. In <<gem5-syscall-emulation-multithreading>>, this is crucial to prevent deadlocks:
|
||||
|
||||
* link:userland/arch/aarch64/inline_asm/futex_sev.cpp[]
|
||||
|
||||
====== ARMv8 spinlock pattern
|
||||
|
||||
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.faqs/ka16277.html
|
||||
|
||||
Reference in New Issue
Block a user