Re: [PATCH v2 3/6] sched: make double-lock-balance fair
From: Gregory Haskins <hidden>
Date: 2008-08-27 12:02:35
Also in:
lkml
Attachments
- signature.asc [application/pgp-signature] 257 bytes
From: Gregory Haskins <hidden>
Date: 2008-08-27 12:02:35
Also in:
lkml
Peter Zijlstra wrote:
On Wed, 2008-08-27 at 12:56 +0200, Nick Piggin wrote:quoted
BTW. I wonder about other architectures that are of interest to -rt? Like mips or arm perhaps... Any plans to implement ticket locks on those, or do they not tend to be used in SMP configurations on -rt yte?I think both are starting to show more and more SMP machines, so yes, eventually we'll want ticket locks for them too. That said, I'm not aware of anyone working on it - I suppose we could poke the regular arch maintainers.. Ralf, Russell ?
As an aside: I have an implementation of C-based ticket lock replacements for raw_spinlock_t that I could post. I never posted them because I mostly care about x86 and Nick's solution is superior there since its hand-tuned asm. But mine could be used in places that have not yet written arch support but need FIFO. I basically have it as a config option to enable "generic fifo spinlocks" or something like that. -Greg