Messages in this thread | | | Date | Wed, 1 Jul 2009 15:13:26 +0200 | From | Ingo Molnar <> | Subject | Re: [PATCH] FRV: Wire up new syscalls |
| |
* David Howells <dhowells@redhat.com> wrote:
> Paul Mackerras <paulus@samba.org> wrote: > > > I did a generic implementation using irq disable on UP and > > hashed spin-locks on SMP. See 09d4e0ed for the implementation > > I can do better than that on FRV. FRV has load/store-double > instructions that I can use to atomically load/store 64-bit memory > locations by using paired registers for the data.
Yeah - still i'd suggest to just go with the generic code initially, as then 'perf' output itself can be used to verify whether the FRV atomic64_t implementation is correct.
Ingo
| |