Re: sparc packages?
Martin Husemann <[email protected]>
| Newsgroups | gmane.os.netbsd.ports.sparc |
|---|---|
| Message-ID | <[email protected]> |
On Sat, Mar 04, 2023 at 05:38:54PM +0100, Romain Dolbeau wrote: > Le sam. 4 mars 2023 à 17:18, Martin Husemann <[email protected]> a écrit : > > Our mutex implementation for sparc is ... special, and I suspect buggy. > > Where is it located ? You've piqued my curiosity. I was thinking of the _lock_hash "Interlock hash table" in sys/arch/sparc/sparc/lock_stubs.s. The __cpu_simple_lock_t used in sys/arch/sparc/include/lock.h is implemented via ldstub, so the mutex.h stuff should be ok. The ulong cas is probably via common/lib/libc/atomic/* (but I'm not sure). Martin