aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/array.c
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2020-08-29 13:03:46 +0000
committerIngo Molnar <[email protected]>2020-10-12 16:27:28 +0000
commite563604a5f5a891283b6a8db4001cee833a7c6b8 (patch)
tree77154b39925cafdab6b123fa6c6af4db32038ae5 /fs/proc/array.c
parentasm-generic/atomic: Add try_cmpxchg() fallbacks (diff)
downloadkernel-e563604a5f5a891283b6a8db4001cee833a7c6b8.tar.gz
kernel-e563604a5f5a891283b6a8db4001cee833a7c6b8.zip
freelist: Implement lockless freelist
A simple CAS-based lock-free free list. Not the fastest thing in the world under heavy contention, but simple and correct (assuming nodes are never freed until after the free list is destroyed), and fairly speedy under low contention. Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Signed-off-by: Masami Hiramatsu <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Link: https://lore.kernel.org/r/159870622579.1229682.16729440870040944993.stgit@devnote2
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions