Re: [rfc: patch 0/6] scalable fd management

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux