Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp370238ybe; Wed, 4 Sep 2019 22:12:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqzdir65vkyFMAXZQ42DXIvA/LXUj7L024jS2I52RG/mQ27B6KeqeteHlC0a3yXdKmYLurXf X-Received: by 2002:a17:90a:804c:: with SMTP id e12mr1774878pjw.3.1567660362183; Wed, 04 Sep 2019 22:12:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567660362; cv=none; d=google.com; s=arc-20160816; b=J+qXrTxic1w31IxFvZ/TwwojuWvJ9zqom6018sGsXybic10SXuirZ6zZoE02clCNK2 V+KA6/jVUOKaP/FXFuMBUhIy8kiePu3tT8hv1Ua39re4E96ik1l9e6UMRdoMS707d7UE D45LrqzsdBPhAL5PfPB/zAJlNOp+Yl5tFbDfKAEzSS1i887Mfg9jHnp08yj/IfiG3oFr wy+R5gdkF7bPmlUFn56LTyIhl+ynUvfmeijmiCP+xAjkCfnz+jMc5kZyRbfyJ3KPm27u va5CFvFz5tp8IyUy8b/zj2nSC7RogTDzblXvGbHF+GTn0c9EeT3BWmx7O9aedp5tNAt1 FqUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=/H9N2Wm3uiSedYJghdDvTSmOnBQBLdO9ad6KoknQtbk=; b=p83DWFpFcbnJ0VIaxe2H6Kx4iZ+qjyC7q91wqCaQGRgWDc8T48YCcT7K9OLMrSCG2r mPrf1dsGKPG5g3RfUmP8ASr73lfyupT3CtisVasajKnAePBVoSNJM1+Kjw75XooCgBC7 ZiSZR0CCPp/rrST7ruDylqQGVdVyMHkE7+W/lsfoxsQ03jNhM5/Fqj8BKj7VaYDt87MP s8nMD16YTjehF+jhfey+jBr5X5rXOUOopX4E5g0jm1u5kjabP4866NKPcVotw9oPRmVQ Ez11+PbjhKNRTSYuhasbY62p97kCfrnBXmo1uKRrdzeFCwJAl/fXjWwOJIQEAt5nWGxr gubw== ARC-Authentication-Results: i=1; mx.google.com; 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 g24si894835plj.169.2019.09.04.22.12.26; Wed, 04 Sep 2019 22:12:42 -0700 (PDT) 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; 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 S1731259AbfIEFDR (ORCPT + 99 others); Thu, 5 Sep 2019 01:03:17 -0400 Received: from mx2.suse.de ([195.135.220.15]:39092 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725290AbfIEFDR (ORCPT ); Thu, 5 Sep 2019 01:03:17 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 124C3AEC4; Thu, 5 Sep 2019 05:03:16 +0000 (UTC) Date: Wed, 4 Sep 2019 22:03:08 -0700 From: Davidlohr Bueso To: Michel Lespinasse Cc: Ingo Molnar , Thomas Gleixner , Peter Zijlstra , Andrew Morton , x86@kernel.org, LKML , Davidlohr Bueso Subject: Re: [PATCH 1/3] x86,mm/pat: Use generic interval trees Message-ID: <20190905050308.mfgiha2y2wydxwtx@linux-r8p5> References: <20190813224620.31005-1-dave@stgolabs.net> <20190813224620.31005-2-dave@stgolabs.net> <20190821215707.GA99147@google.com> <20190822044936.qusm5zgjdf6n5fds@linux-r8p5> <20190822181701.zhfdkjbwjh56i3ax@linux-r8p5> <20190905005234.vse4pm4mw7bogcbp@linux-r8p5> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180323 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 04 Sep 2019, Michel Lespinasse wrote: >Hi Davidlohr, > >On Wed, Sep 4, 2019 at 5:52 PM Davidlohr Bueso wrote: >> Ok, so for that I've added the following helper which will make the >> conversion a bit more straightforward: >> >> #define vma_interval_tree_foreach_stab(vma, root, start) >> vma_interval_tree_foreach(vma, root, start, start) > >Yes, that should help with the conversion :) > >> I think this also makes sense as it documents the nature of the lookup. Because this is a nice helper regardless of the interval tree stuff, I went ahead and sent a patch as well as the conversion, which is quite trivial, and hopefully akpm can pick it up for -next; which makes one less patch to carry when doing the interval tree conversion series. Thanks, Davidlohr