Yep - play with it and see. Theres a volume of papers on self tuning locking
systems, and the summary appears to be "its hard, gimme some more research
money".
> How do you spin lock briefly? You mean break it on a timer?
on a loop count probably. The point of the spin is that most lock events
are a few microseconds wide and not worth a syscall over
Alan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/