mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 04:40:53 +07:00
0c074cbc33
Implement FETCH-OP atomic primitives, these are very similar to the existing OP-RETURN primitives we already have, except they return the value of the atomic variable _before_ modification. This is especially useful for irreversible operations -- such as bitops (because it becomes impossible to reconstruct the state prior to modification). Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Yoshinori Sato <ysato@users.sourceforge.jp> Cc: linux-arch@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: uclinux-h8-devel@lists.sourceforge.jp Signed-off-by: Ingo Molnar <mingo@kernel.org> |
||
---|---|---|
.. | ||
atomic.h | ||
bitops.h | ||
bitsperlong.h | ||
bug.h | ||
byteorder.h | ||
cache.h | ||
cmpxchg.h | ||
dma-mapping.h | ||
elf.h | ||
flat.h | ||
hash.h | ||
io.h | ||
irq.h | ||
irqflags.h | ||
Kbuild | ||
kgdb.h | ||
mc146818rtc.h | ||
mutex.h | ||
page_offset.h | ||
page.h | ||
pci.h | ||
pgtable.h | ||
processor.h | ||
ptrace.h | ||
segment.h | ||
signal.h | ||
smp.h | ||
string.h | ||
switch_to.h | ||
syscall.h | ||
thread_info.h | ||
tlb.h | ||
traps.h | ||
user.h |