3 ms·
Spinlocks are normal userspace code issuing machine instructions in a loop that do memory operations. It is counted in user time, unless the platform is unusual
by fulafel 4y ago
Spinlocks are normal userspace code issuing machine instructions in a loop that do memory operations. It is counted in user time, unless the platform is unusual and for some reason enters the kernel to spin on the lock. Spinning is the opposite of sleeping.
edit: misparsed, like corrected below, my bad.
- burntsushi 4y agoI think you're saying the same thing as the GP. You might have parsed their comment incorrectly.