Re: [PATCH v7 15/61] xarray: Add xa_load

2018-02-20 Thread Matthew Wilcox
On Tue, Feb 20, 2018 at 08:34:06AM +0100, Philippe Ombredanne wrote: > > +++ b/tools/testing/radix-tree/xarray-test.c > > @@ -0,0 +1,56 @@ > > +/* > > + * xarray-test.c: Test the XArray API > > + * Copyright (c) 2017 Microsoft Corporation > > + * > > + * This program is free software; you can redi

Re: [PATCH v7 15/61] xarray: Add xa_load

2018-02-19 Thread Philippe Ombredanne
Matthew, On Mon, Feb 19, 2018 at 8:45 PM, Matthew Wilcox wrote: > From: Matthew Wilcox > > This first function in the XArray API brings with it a lot of support > infrastructure. The advanced API is based around the xa_state which is > a more capable version of the radix_tree_iter. > > As the t

[PATCH v7 15/61] xarray: Add xa_load

2018-02-19 Thread Matthew Wilcox
From: Matthew Wilcox This first function in the XArray API brings with it a lot of support infrastructure. The advanced API is based around the xa_state which is a more capable version of the radix_tree_iter. As the test-suite demonstrates, it is possible to use the xarray and radix tree APIs o