Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Feb 2010 05:12:06 +0100
From:      Bernd Walter <ticso@cicely7.cicely.de>
To:        "M. Warner Losh" <imp@bsdimp.com>
Cc:        kostikbel@gmail.com, arm@freebsd.org, ticso@cicely7.cicely.de, ticso@cicely.de, current@freebsd.org
Subject:   Re: bind fails with sig11 on start / pthread failure on ARM?
Message-ID:  <20100219041200.GC43625@cicely7.cicely.de>
In-Reply-To: <20100218.204739.680961627231021262.imp@bsdimp.com>
References:  <20100218131010.GQ50403@deviant.kiev.zoral.com.ua> <20100219031200.GY43625@cicely7.cicely.de> <20100219033000.GZ43625@cicely7.cicely.de> <20100218.204739.680961627231021262.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Feb 18, 2010 at 08:47:39PM -0700, M. Warner Losh wrote:
> In message: <20100219033000.GZ43625@cicely7.cicely.de>
>             Bernd Walter <ticso@cicely7.cicely.de> writes:
> : Warner - it names you in the copyright, so very likely you know this code.
> : I will build a debug version of bind, but as usual it will take some
> : time...
> 
> Make sure that the code matches our current atomics code...

There are just 3 functions.
isc_atomic_xadd and isc_atomic_store just wrap to atomic_fetchadd_int and
atomic_store_rel_int
isc_atomic_cmpxchg is inline assembly, but I don't think we have such a
function in our ARM atomic.h - at least I can't find it.

-- 
B.Walter <bernd@bwct.de> http://www.bwct.de
Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100219041200.GC43625>