From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E8575ECE58B for ; Fri, 4 Oct 2019 19:36:27 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id B98E121D81 for ; Fri, 4 Oct 2019 19:36:27 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B98E121D81 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=stgolabs.net Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 6C35F8E0006; Fri, 4 Oct 2019 15:36:27 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 674AD8E0003; Fri, 4 Oct 2019 15:36:27 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 58B098E0006; Fri, 4 Oct 2019 15:36:27 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0224.hostedemail.com [216.40.44.224]) by kanga.kvack.org (Postfix) with ESMTP id 353D58E0003 for ; Fri, 4 Oct 2019 15:36:27 -0400 (EDT) Received: from smtpin05.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with SMTP id D819A2C34 for ; Fri, 4 Oct 2019 19:36:26 +0000 (UTC) X-FDA: 76007108772.05.knee40_726e98e2c5248 X-HE-Tag: knee40_726e98e2c5248 X-Filterd-Recvd-Size: 2563 Received: from mx1.suse.de (mx2.suse.de [195.135.220.15]) by imf50.hostedemail.com (Postfix) with ESMTP for ; Fri, 4 Oct 2019 19:36:26 +0000 (UTC) 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 DAA3AAD18; Fri, 4 Oct 2019 19:36:24 +0000 (UTC) Date: Fri, 4 Oct 2019 12:35:15 -0700 From: Davidlohr Bueso To: Matthew Wilcox Cc: Michel Lespinasse , Jason Gunthorpe , Andrew Morton , Peter Zijlstra , LKML , linux-mm , dri-devel@lists.freedesktop.org, linux-rdma@vger.kernel.org Subject: Re: [PATCH -next 00/11] lib/interval-tree: move to half closed intervals Message-ID: <20191004193515.5kfq3un37gbtpm2o@linux-p48b> Mail-Followup-To: Matthew Wilcox , Michel Lespinasse , Jason Gunthorpe , Andrew Morton , Peter Zijlstra , LKML , linux-mm , dri-devel@lists.freedesktop.org, linux-rdma@vger.kernel.org References: <20191003201858.11666-1-dave@stgolabs.net> <20191004002609.GB1492@ziepe.ca> <20191004160347.GH32665@bombadil.infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20191004160347.GH32665@bombadil.infradead.org> User-Agent: NeoMutt/20180716 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Fri, 04 Oct 2019, Matthew Wilcox wrote: >On Fri, Oct 04, 2019 at 06:15:11AM -0700, Michel Lespinasse wrote: >> My take is that this (Davidlohr's) patch series does not necessarily >> need to be applied all at once - we could get the first change in >> (adding the interval_tree_gen.h header), and convert the first few >> users, without getting them all at once, as long as we have a plan for >> finishing the work. So, if you have cleanups in progress in some of >> the files, just tell us which ones and we can leave them out from the >> first pass. > >Since we have users which do need to use the full ULONG_MAX range >(as pointed out by Christian Koenig), I don't think adding a second >implementation which is half-open is a good idea. It'll only lead to >confusion. Right, we should not have two implementations. Thanks, Davidlohr