Skip to contentSkip to conversation

why are we reduce spin-lock and replace it with lock-free?

DISCUSSION liang yuanen 2 participants 2 messages May 10, 2007

lore
Share & tools
lore
#0 lore raw

Three are many many spin-lock in the kernel code, and in multi-core conditions, it push down the kernel performance.why are we reduce spin-lock and replace it with lock-free?

#1 lore raw
Quoted 3 lines · On Thu, 10 May 2007 22:23:32 +0800 "liang yuanen"…

Three are many many spin-lock in the kernel code, and in multi-core conditions, it push down the kernel performance.why are we reduce spin-lock and replace it with lock-free?

If you can find algorithms which are lock free, faster than taking the lock and have bounded resource consumption then you can test them with the kernel and send patches.

Alan