mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
functional units stub
This commit is contained in:
@@ -28,7 +28,7 @@ void threadMain(size_t niters) {
|
||||
"incq %0;"
|
||||
: "+g" (global),
|
||||
"+g" (i) // to prevent loop unrolling, and make results more comparable across methods,
|
||||
// see also: https://cirosantilli.com/linux-kernel-module-cheat#infinite-busy-loop
|
||||
// see also: https://cirosantilli.com/linux-kernel-module-cheat#c-busy-loop
|
||||
:
|
||||
:
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user