Matthew, On Mon, Feb 19, 2018 at 8:45 PM, Matthew Wilcox <willy@xxxxxxxxxxxxx> wrote: > From: Matthew Wilcox <mawilcox@xxxxxxxxxxxxx> > > 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 on the same data structure. > > Signed-off-by: Matthew Wilcox <mawilcox@xxxxxxxxxxxxx> <snip> > --- /dev/null > +++ b/tools/testing/radix-tree/xarray-test.c > @@ -0,0 +1,56 @@ > +/* > + * xarray-test.c: Test the XArray API > + * Copyright (c) 2017 Microsoft Corporation <mawilcox@xxxxxxxxxxxxx> > + * > + * This program is free software; you can redistribute it and/or modify it > + * under the terms and conditions of the GNU General Public License, > + * version 2, as published by the Free Software Foundation. > + * > + * This program is distributed in the hope it will be useful, but WITHOUT > + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or > + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for > + * more details. > + */ Do you mind using SPDX tags per [1] rather that this fine but long legalese? Unless you are a legalese lover of course. You will also get bonus karma points if you can spread the word within your group! [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/license-rules.rst -- Cordially Philippe Ombredanne -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>