Received: by 10.223.185.116 with SMTP id b49csp337096wrg; Mon, 19 Feb 2018 23:35:42 -0800 (PST) X-Google-Smtp-Source: AH8x226QfVyzho/69sALsPgkiwmGigB3MuL1lwyli8gN4PjbWuvCliK2RYHF+kgLkhSLCaP0/nb7 X-Received: by 10.99.121.203 with SMTP id u194mr10205723pgc.232.1519112142477; Mon, 19 Feb 2018 23:35:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519112142; cv=none; d=google.com; s=arc-20160816; b=Xs2pu94I7gpYIG5UHgp6h1YbVSPIH5svgCF+jYpk0h8LEjmpzq1FNgqSyswmpHyHFd iIecocJ/17sv7yN/9/9c0qj04Vu3XYACf3lm7T0qypn+2WlIN5GazfKoSTYQiILa+eiX QHu55XKNBS6HU0VjsMn9Wofm5D82m3BNaDcIG84DwIU0pkAWyvjzqPibcTRWjWLUV7LO 8CHQ/YLNCs7efFCaz6Gp632Xt6u8yOisAjHyJVjLQVVRlnv2T2bHn4rmtMSWrV5rUaEB 9wU5B03IqAY0mp1RM/rI7Mr5FkBYiaa/U/BB3rQyjQrF9S3wnXzf4NZ3XgIKcZWSO9QK grPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=/JjOnWPJ3lPvAktJgh50Q+Bxt7nQx/KEynFjDH9OmfA=; b=ybWGwRgiIzY7qGPEImMMpjiZN/itDcVlsGg1YQ/9xic+0XdSjBuaZj8SmW4bjZvd5y +4JU+ThcLD8/YhhvxOOk2584XGQqq8QpyM5hhPzaBjU3qTmQTIqh8XKGYMkBgbpfBTUo 5fCK8g9iH3Z4044c6HYIgKlozYvM1BDnLiyACRSQq01qJCqo1yA9UA2a2BCDlBi1Zmnw FtZ08y6b4+d1nObV8w76ETr1enKyfB4moNcycIy7fNIyzPnq1xkHO82/WTX7ZongfLf+ jKxqNqp3OAzEo9ix/0HRBEtkrc224xdsUtGZVm7RJKQj9KV1jPt9mUnbT2FopGFqobQw j7RQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nexb-com.20150623.gappssmtp.com header.s=20150623 header.b=znkVi2mL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g3-v6si11868505plt.528.2018.02.19.23.35.27; Mon, 19 Feb 2018 23:35:42 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nexb-com.20150623.gappssmtp.com header.s=20150623 header.b=znkVi2mL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751328AbeBTHet (ORCPT + 99 others); Tue, 20 Feb 2018 02:34:49 -0500 Received: from mail-wr0-f195.google.com ([209.85.128.195]:44203 "EHLO mail-wr0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751158AbeBTHes (ORCPT ); Tue, 20 Feb 2018 02:34:48 -0500 Received: by mail-wr0-f195.google.com with SMTP id v65so11962543wrc.11 for ; Mon, 19 Feb 2018 23:34:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nexb-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=/JjOnWPJ3lPvAktJgh50Q+Bxt7nQx/KEynFjDH9OmfA=; b=znkVi2mLUgjg8H75ee8GdksrXERWbJz0RxVmlAWQmw9cJc6TQhwX1/2Lfdiv8zbTVM 8pmK3S0XuG9Wk+NzW5rQc1WXQ7E3nEmddRXCvNDoKz2b0FAy3Wl4tSIY6WkMXkptzzqF V0M/cE21e4Sdq74TGTDNWHICdF0aAAyrDKkI/0P6RkDmGbNJhmgD8Js9/7jwo+f3a//k AqLL1A5s0v8WE2gCvLgg6FfeVbP+QC3mafoCaidP6oLS/WwfwVy5yRc0LMMAJv5d2w7L QYyv0RGi+hx7AnfYVpyweFUnzU6RjX9S1Alv1PByKb5mXF1ObBHGlsexV/+j8Q6LQWrd B60w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=/JjOnWPJ3lPvAktJgh50Q+Bxt7nQx/KEynFjDH9OmfA=; b=tfnj3n5VNYb7d6i2f+XNjAvU6QAQ7x1ftq5ksQhkNQuR5bKgM3P1XmO80EUjRdztdV vIh7mnsx5izpxKw/xSSZnaayAjZBthIlHBpWEYhSpuWB50HAj4lZ04Wl4MtcYkLbB45Q Hgux/XTe//OZ2YXTLtDj+DGRtOc5j94CE/p6Ma3qMtdigZ1dSwUX17oPeGh7xvEWRUJu 9kFZT2MOKAnr3GzOSDTf0nXZl8Kzy+cVHw/VizKEhpbMjt4YVyz7OH/eI5m9JIjn0IDN ohafkP86KjUVlr7D+dkffGce+ZNitXwDaDitkkVFD1VVozeOUtfVnX/Q2cYuusZEXq0p qlMQ== X-Gm-Message-State: APf1xPA6YqB20L5g+cxZjrYIBsS9GboFpAFB55p8s13uOhVV02I5HSiY iUKRcuHzY+0OEzKjVe2SxD4Xti65qPdG158Gvrli5g== X-Received: by 10.223.151.140 with SMTP id s12mr3953802wrb.37.1519112087123; Mon, 19 Feb 2018 23:34:47 -0800 (PST) MIME-Version: 1.0 Received: by 10.223.195.139 with HTTP; Mon, 19 Feb 2018 23:34:06 -0800 (PST) In-Reply-To: <20180219194556.6575-16-willy@infradead.org> References: <20180219194556.6575-1-willy@infradead.org> <20180219194556.6575-16-willy@infradead.org> From: Philippe Ombredanne Date: Tue, 20 Feb 2018 08:34:06 +0100 Message-ID: Subject: Re: [PATCH v7 15/61] xarray: Add xa_load To: Matthew Wilcox Cc: Andrew Morton , Matthew Wilcox , LKML , linux-mm@kvack.org, linux-fsdevel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 test-suite demonstrates, it is possible to use the xarray and > radix tree APIs on the same data structure. > > Signed-off-by: Matthew Wilcox > --- /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 > + * > + * 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