Messages in this thread | | | Date | Wed, 1 Jun 2005 18:20:57 +0530 | From | Dipankar Sarma <> | Subject | Re: [rfc: patch 0/6] scalable fd management |
| |
On Wed, Jun 01, 2005 at 04:25:20AM -0700, William Lee Irwin III wrote: > On Mon, May 30, 2005 at 04:20:42PM +0530, Dipankar Sarma wrote: > > I would appreciate if someone tests this on an arch without > > cmpxchg (sparc32??). I intend to run some more tests > > with preemption enabled and also on ppc64 myself. > > sparc32 SMP is not going to be a good choice for this. By and large > ll/sc -style architectures don't have explicit cmpxchg instructions so > ppc64 at least nominally fits the bill. SMP Alpha testing may also be > enlightening (as usual).
Actually, I was talking about cmpxchg() primitive in the kernel, not necessarily the instruction. ppc64 has a cmpxchg() primitive based on LL/SC. For the archs that do not have cmpxchg(), rcuref_inc_lf() uses a hashed lock to serialize the reference count updates. It would be nice to see that code get a spin on real hardware. AFAICS, sparc32 fits the bill.
Thanks Dipankar - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |