summaryrefslogtreecommitdiffstats
path: root/sys/arch/amd64/include/lock.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Kill SPINLOCK_SPIN_HOOK, use CPU_BUSY_CYCLE() instead.mpi2017-05-291-3/+1
| | | | ok visa@, kettenis@
* Drop trailing semicolon from a macro.visa2017-05-251-2/+2
| | | | OK dlg@
* Remove __lockbarrier() defines, unused since cpu_lock removal a fewjsg2016-04-031-43/+2
| | | | | | years ago. ok dlg@
* make the rwlock implementation MI.dlg2015-02-111-5/+1
| | | | | | | | | | | each arch used to have to provide an rw_cas operation, but now we have the rwlock code build its own version. on smp machines it uses atomic_cas_ulong. on uniproc machines it avoids interlocked instructions by using straight loads and stores. this is safe because rwlocks are only used from process context and processes are currently not preemptible in our kernel. so alpha/ppc/etc might get a benefit. ok miod@ kettenis@ deraadt@
* It's been a quarter century: we can assume volatile is present with that name.guenther2014-03-291-3/+3
| | | | ok dlg@ mpi@ deraadt@
* replace x86_atomic_cas_things with atomic_cas_foo equivalents.dlg2014-03-271-2/+2
| | | | ok kettenis@
* remove unused cpu_lock code (where it is truly unused). it is nottedu2013-05-211-61/+1
| | | | part of the future we have planned. middling ok from a few
* Normalize sentinel. Use _MACHINE_*_H_ and _<ARCH>_*_H_ properly and consitently.pirofti2011-03-231-4/+4
| | | | Discussed and okay drahn@. Okay deraadt@.
* Fix "fp_save ipi didn't" panic, and move i386/amd64 closer in the process.weingart2008-12-041-1/+2
| | | | Positive test results by a handful of people. Ok kettenis@
* First pass at removing clauses 3 and 4 from NetBSD licenses.ray2008-06-261-8/+1
| | | | | | | | | Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@
* Give LOCKDEBUG kernels a chance to compile; ok kettenis@miod2008-01-021-5/+5
|
* Define rw_cas. Trivially simple on amd64 with atomic_cas_ul.art2007-05-251-1/+3
| | | | miod@ ok
* SMP support. Big parts from NetBSD, but with some really serious debuggingart2004-06-251-0/+119
done by me, niklas and others. Especially wrt. NXE support. Still needs some polishing, especially in dmesg messages, but we're now building kernel faster than ever.