mirror of https://gitee.com/openkylin/linux.git
ca520cab25
Pull locking and atomic updates from Ingo Molnar: "Main changes in this cycle are: - Extend atomic primitives with coherent logic op primitives (atomic_{or,and,xor}()) and deprecate the old partial APIs (atomic_{set,clear}_mask()) The old ops were incoherent with incompatible signatures across architectures and with incomplete support. Now every architecture supports the primitives consistently (by Peter Zijlstra) - Generic support for 'relaxed atomics': - _acquire/release/relaxed() flavours of xchg(), cmpxchg() and {add,sub}_return() - atomic_read_acquire() - atomic_set_release() This came out of porting qwrlock code to arm64 (by Will Deacon) - Clean up the fragile static_key APIs that were causing repeat bugs, by introducing a new one: DEFINE_STATIC_KEY_TRUE(name); DEFINE_STATIC_KEY_FALSE(name); which define a key of different types with an initial true/false value. Then allow: static_branch_likely() static_branch_unlikely() to take a key of either type and emit the right instruction for the case. To be able to know the 'type' of the static key we encode it in the jump entry (by Peter Zijlstra) - Static key self-tests (by Jason Baron) - qrwlock optimizations (by Waiman Long) - small futex enhancements (by Davidlohr Bueso) - ... and misc other changes" * 'locking-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (63 commits) jump_label/x86: Work around asm build bug on older/backported GCCs locking, ARM, atomics: Define our SMP atomics in terms of _relaxed() operations locking, include/llist: Use linux/atomic.h instead of asm/cmpxchg.h locking/qrwlock: Make use of _{acquire|release|relaxed}() atomics locking/qrwlock: Implement queue_write_unlock() using smp_store_release() locking/lockref: Remove homebrew cmpxchg64_relaxed() macro definition locking, asm-generic: Add _{relaxed|acquire|release}() variants for 'atomic_long_t' locking, asm-generic: Rework atomic-long.h to avoid bulk code duplication locking/atomics: Add _{acquire|release|relaxed}() variants of some atomic operations locking, compiler.h: Cast away attributes in the WRITE_ONCE() magic locking/static_keys: Make verify_keys() static jump label, locking/static_keys: Update docs locking/static_keys: Provide a selftest jump_label: Provide a self-test s390/uaccess, locking/static_keys: employ static_branch_likely() x86, tsc, locking/static_keys: Employ static_branch_likely() locking/static_keys: Add selftest locking/static_keys: Add a new static_key interface locking/static_keys: Rework update logic locking/static_keys: Add static_key_{en,dis}able() helpers ... |
||
---|---|---|
.. | ||
m32104ut | ||
m32700ut | ||
mappi2 | ||
mappi3 | ||
opsput | ||
Kbuild | ||
addrspace.h | ||
asm-offsets.h | ||
assembler.h | ||
atomic.h | ||
barrier.h | ||
bitops.h | ||
bug.h | ||
bugs.h | ||
cache.h | ||
cachectl.h | ||
cacheflush.h | ||
checksum.h | ||
cmpxchg.h | ||
current.h | ||
dcache_clear.h | ||
delay.h | ||
device.h | ||
div64.h | ||
dma.h | ||
elf.h | ||
emergency-restart.h | ||
fb.h | ||
flat.h | ||
ftrace.h | ||
futex.h | ||
hardirq.h | ||
hw_irq.h | ||
io.h | ||
irq.h | ||
irq_regs.h | ||
irqflags.h | ||
kdebug.h | ||
kmap_types.h | ||
linkage.h | ||
local.h | ||
local64.h | ||
m32r.h | ||
m32r_mp_fpga.h | ||
m32102.h | ||
mc146818rtc.h | ||
mmu.h | ||
mmu_context.h | ||
mmzone.h | ||
mutex.h | ||
page.h | ||
pci.h | ||
percpu.h | ||
pgalloc.h | ||
pgtable-2level.h | ||
pgtable.h | ||
processor.h | ||
ptrace.h | ||
rtc.h | ||
s1d13806.h | ||
segment.h | ||
serial.h | ||
setup.h | ||
shmparam.h | ||
signal.h | ||
smp.h | ||
spinlock.h | ||
spinlock_types.h | ||
string.h | ||
switch_to.h | ||
syscall.h | ||
termios.h | ||
thread_info.h | ||
timex.h | ||
tlb.h | ||
tlbflush.h | ||
topology.h | ||
types.h | ||
uaccess.h | ||
ucontext.h | ||
unaligned.h | ||
unistd.h | ||
user.h | ||
vga.h | ||
xor.h |