Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1264741ybl; Fri, 23 Aug 2019 16:30:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqwuEpa7pctUiBEyelOF7znkS0zjBsKyUXqi0Jr5g896m4O84u8AZbfo+KOk7KapbtMJm188 X-Received: by 2002:a17:90a:24ed:: with SMTP id i100mr7738057pje.47.1566603022513; Fri, 23 Aug 2019 16:30:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566603022; cv=none; d=google.com; s=arc-20160816; b=RZYVQL8MkNW5dYVtlKtiFrU9B5P70cY4SBOtnFm/7ZhZv1JqmT0vZ7C/jf3NvoqR8S PbqVEpVHOEylU1GnBW+iHPdGSnZ8DRN3/+xPAyytqe4TmGdvGEEMRmzuN4Ud7FPhwxDf GCTm+s1RQl5eR/tQUVvDXxu6v4NRWs68/DBUBLQdYBvv/SBWDnKiIqR2AR5ebFrQg4AD VYMclVWfXO/B7IxhdzjNy9RLJp2e37zKhzCcR4mO+NRQZbjCnGXVZIFACEYc4NA8cQT3 NHAVaCbqCBkiFzISrKiHJ7VOp17W+VMQDIyrl7BrIwARYl42nbDEKIK+Mj3D7RJEKDkB qj/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=dHCogjQ+k+OMi5kJMP7yJmttRCXCiFrLqYJ3/0UJoJ4=; b=RtS3805g0/nhJkeKroBIiIZW545l7jrjIuF9zVXrUWxOCEGjRzEfp+BVkvgTNtiZYl bRDLfxHiN/wLCjEGwQCq0yxvnVwopRVGzgeXDfnFDdhsKQda3VQjSQbraW7nWbW3Qm2A 983al7L+JaTWa4Gza6CCfw+Xowex4h2ISPl+Z9V7UXm+Sx4aycnlOKNnGB0oKEULVrJ0 dItIH+C0CJvkkCyjW1D2txFJiTtq0pY++BbPKdiMd5GwA5u0LviuOKy8NexwvF7N9MMk fvszzyOvImpxJDLQWAHQVSAf9oW8BUTbMCPMxAtAGfn0K5wXdiXHJN8RZrTaiYi744S3 O2zw== 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 x7si3506623pjo.64.2019.08.23.16.30.07; Fri, 23 Aug 2019 16:30:22 -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 S2405814AbfHWPgI (ORCPT + 99 others); Fri, 23 Aug 2019 11:36:08 -0400 Received: from foss.arm.com ([217.140.110.172]:36412 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726347AbfHWPgI (ORCPT ); Fri, 23 Aug 2019 11:36:08 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id B44D528; Fri, 23 Aug 2019 08:36:07 -0700 (PDT) Received: from [10.1.196.133] (e112269-lin.cambridge.arm.com [10.1.196.133]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 94E0B3F246; Fri, 23 Aug 2019 08:36:06 -0700 (PDT) Subject: Re: cleanup the walk_page_range interface To: Jason Gunthorpe , Christoph Hellwig Cc: Linus Torvalds , Christoph Hellwig , Andrew Morton , =?UTF-8?Q?Thomas_Hellstr=c3=b6m?= , Jerome Glisse , Linux-MM , Linux List Kernel Mailing References: <20190808154240.9384-1-hch@lst.de> <20190816062751.GA16169@infradead.org> <20190823134308.GH12847@mellanox.com> From: Steven Price Message-ID: Date: Fri, 23 Aug 2019 16:36:05 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <20190823134308.GH12847@mellanox.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 23/08/2019 14:43, Jason Gunthorpe wrote: > On Thu, Aug 15, 2019 at 11:27:51PM -0700, Christoph Hellwig wrote: >> On Thu, Aug 08, 2019 at 10:50:37AM -0700, Linus Torvalds wrote: >>> On Thu, Aug 8, 2019 at 8:42 AM Christoph Hellwig wrote: >>>> >>>> this series is based on a patch from Linus to split the callbacks >>>> passed to walk_page_range and walk_page_vma into a separate structure >>>> that can be marked const, with various cleanups from me on top. >>> >>> The whole series looks good to me. Ack. >>> >>>> Note that both Thomas and Steven have series touching this area pending, >>>> and there are a couple consumer in flux too - the hmm tree already >>>> conflicts with this series, and I have potential dma changes on top of >>>> the consumers in Thomas and Steven's series, so we'll probably need a >>>> git tree similar to the hmm one to synchronize these updates. >>> >>> I'd be willing to just merge this now, if that helps. The conversion >>> is mechanical, and my only slight worry would be that at least for my >>> original patch I didn't build-test the (few) non-x86 >>> architecture-specific cases. But I did end up looking at them fairly >>> closely (basically using some grep/sed scripts to see that the >>> conversions I did matched the same patterns). And your changes look >>> like obvious improvements too where any mistake would have been caught >>> by the compiler. >>> >>> So I'm not all that worried from a functionality standpoint, and if >>> this will help the next merge window, I'll happily pull now. >> >> So what is the plan forward? Probably a little late for 5.3, >> so queue it up in -mm for 5.4 and deal with the conflicts in at least >> hmm? Queue it up in the hmm tree even if it doesn't 100% fit? > > Did we make a decision on this? Due to travel & LPC I'd like to > finalize the hmm tree next week. I was planning on rebasing my series on this and posting it for 5.4 - I hadn't actually realised this hasn't been picked up yet. I haven't had much time to look at this recently. FWIW you can add for the series: Acked-by: Steven Price Steve