lkml.org 
[lkml]   [2009]   [Jul]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2009-07-01 15:17    [W:0.098 / U:0.260 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site