]> git.baikalelectronics.ru Git - kernel.git/commit
xarray: Add XArray marks
authorMatthew Wilcox <willy@infradead.org>
Fri, 10 Nov 2017 14:34:31 +0000 (09:34 -0500)
committerMatthew Wilcox <willy@infradead.org>
Sun, 21 Oct 2018 14:45:57 +0000 (10:45 -0400)
commitcbae8dfee18215c70adf407522f860fadc020b57
tree5e9d4f434e638313df1f9d96c145097b9897d122
parent1368a80ca02d872b46c84d21ad04a818447d38d3
xarray: Add XArray marks

XArray marks are like the radix tree tags, only slightly more strongly
typed.  They are renamed in order to distinguish them from tagged
pointers.  This commit adds the basic get/set/clear operations.

Signed-off-by: Matthew Wilcox <willy@infradead.org>
include/linux/xarray.h
lib/test_xarray.c
lib/xarray.c
tools/include/asm-generic/bitops.h
tools/include/asm-generic/bitops/atomic.h
tools/include/asm-generic/bitops/non-atomic.h [new file with mode: 0644]
tools/include/linux/spinlock.h