Newsgroups: comp.arch
From: Joe Seigh <jseigh...@xemaps.com>
Date: Tue, 13 Jun 2006 18:24:19 -0400
Local: Tues, Jun 13 2006 6:24 pm
Subject: Re: Why no double wide compare and swap on Sparc?
Chris Thomasson wrote: IBM S370 had double wide compare and swap long before 64 bit support > "Joe Seigh" <jseigh...@xemaps.com> wrote >>What's with the Sparc architects? > IMHO, I believe the major reason 32-bit architectures support DWCAS was to > A 32-bit application cannot use DWCAS to manipulate a pointer along with > struct dosent_work_on_64_bit_s { > IMO, the hardware architects' did NOT have lock-free algorithms in mind when became an issue. >>There's a bit of a disconnect here I think. > Perhaps they are designing the lock-free algorithms for a upcoming processor come out with hardware based transactional memory it would be after the fact of 64 bit sparc and wouldn't be generally available. So it would have to be hidden behind some system or library api with alternate implementations on non TM platforms. That would limit its applicability. For example, you couldn't have atomically thread-safe refcounted smart pointers. Well, not without RCU and/or SMR. If they go with STM to compliment hw TM, it's only going to work at a lower contention level if the STM algorihtm is only obstruction-free. It's a big problem. You can design efficient synchronization mechanisms If Sun has a 64 bit JVM implementation, I wonder what they do for -- When you get lemons, you make lemonade. You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||