Messages in this thread | | | Date | Fri, 12 Nov 2010 14:28:31 +0800 | From | Américo Wang <> | Subject | Re: Kernel rwlock design, Multicore and IGMP |
| |
On Fri, Nov 12, 2010 at 11:32:59AM +0800, Cypher Wu wrote: >> >> Is TILE using ticket spinlocks ? >>
Eric, yes.
> >What ticket spinlocks means? Could you explain a little, pls:) I'm not >familiar with Linux kernel, I'm trying to get more understanding of it >since I'm working on Linux platform now. >
You might want to search "ticket spinlock" with google. :)
Briefly speaking, it is introduced to solve unfairness of the old spinlock implementation. In linux kernel, not all arch implement this. X86 implementation is done by Nick with asm code, while tile uses C to implement it.
| |