aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/radix-tree/xarray.c
diff options
context:
space:
mode:
authorMatthew Wilcox <[email protected]>2017-11-04 03:09:45 +0000
committerMatthew Wilcox <[email protected]>2018-09-30 02:47:49 +0000
commit02c02bf12c5d838603eed44195d3e91f094e2ab2 (patch)
treecd7ab986f4b11b330f59d04f0bb9f618efb579fc /tools/testing/radix-tree/xarray.c
parentxarray: Replace exceptional entries (diff)
downloadkernel-02c02bf12c5d838603eed44195d3e91f094e2ab2.tar.gz
kernel-02c02bf12c5d838603eed44195d3e91f094e2ab2.zip
xarray: Change definition of sibling entries
Instead of storing a pointer to the slot containing the canonical entry, store the offset of the slot. Produces slightly more efficient code (~300 bytes) and simplifies the implementation. Signed-off-by: Matthew Wilcox <[email protected]> Reviewed-by: Josef Bacik <[email protected]>
Diffstat (limited to 'tools/testing/radix-tree/xarray.c')
0 files changed, 0 insertions, 0 deletions