aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_xarray.c
diff options
context:
space:
mode:
authorMatthew Wilcox <[email protected]>2018-03-28 15:48:03 +0000
committerMatthew Wilcox <[email protected]>2018-10-21 14:46:43 +0000
commitcfc93c6c6c963d96ef7081c17fb95d2738a75f55 (patch)
treef923f8939814e934c7b6fcba90f6688a5aef15f3 /lib/test_xarray.c
parentdax: Hash on XArray instead of mapping (diff)
downloadkernel-cfc93c6c6c963d96ef7081c17fb95d2738a75f55.tar.gz
kernel-cfc93c6c6c963d96ef7081c17fb95d2738a75f55.zip
dax: Convert dax_insert_pfn_mkwrite to XArray
Add some XArray-based helper functions to replace the radix tree based metaphors currently in use. The biggest change is that converted code doesn't see its own lock bit; get_unlocked_entry() always returns an entry with the lock bit clear. So we don't have to mess around loading the current entry and clearing the lock bit; we can just store the unlocked entry that we already have. Signed-off-by: Matthew Wilcox <[email protected]>
Diffstat (limited to 'lib/test_xarray.c')
0 files changed, 0 insertions, 0 deletions