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)
commit9b89a0355144685a787b0dc5bcf7bdd6f2d02968
tree5e9d4f434e638313df1f9d96c145097b9897d122
parentad3d6c7263e368abdc151e1cc13dc78aa39cc7a7
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