Re: sparc packages?
Romain Dolbeau <[email protected]>
| Newsgroups | gmane.os.netbsd.ports.sparc |
|---|---|
| Message-ID | <CADuzgbrR807R450RMwR483xuBk1c7Q3xBaTm-_=JpVudScXBmg@mail.gmail.com> |
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 can see a mutex.h in /usr/src/sys/arch/sparc/include, but it doesn't seem to fully define the mutex. I suspect the interesting bit is wherever the _atomic_cas_ulong() used in that file is defined, as on v7/v8 there is no hardware CAS so it has to be emulated somehow. Is that indeed the dodgy bit and if so where is it implemented ? TIA & Cordially, -- Romain Dolbeau