Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1132879ybl; Fri, 16 Aug 2019 09:23:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqzojIFi3N3Ibb3duGEo3enfzdmfWgIzeFLBaPscmbhquMysZrLRepYVT+WbvdC563zEV0wS X-Received: by 2002:a63:5f01:: with SMTP id t1mr7793611pgb.200.1565972612058; Fri, 16 Aug 2019 09:23:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565972612; cv=none; d=google.com; s=arc-20160816; b=n3sH3+0FmnRepjYbcHHKCRxuo4+GUgRKrIBZEWFyMcNuFn5m1YB8OfR3JXVRUMIsI3 xZB0dJIxkXBtJovAlSKHXip31/RP4BJYHo0JfyVnyoIdfh0wdP6143mC6saSIgLWnuPo DBRg7AWVkpHLKYxtBATUvzxWDnFbZWSVSZ9cspj2wWTRY8PGCQlneIpG9H77Em0J21/U n4MiyQtXx+GK6PmebSHWlVRyXKekhGClcddHd3rtl936XjcqVB3pgU1OGVqinMoQfOly IOKoDmlwnJueo29t3xb9lM8Dnh2QyQUEpdO7cAnU5ZIBbknE5IVwVdxVmT617WZGMnnX UQpA== 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:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=ymHwSq4wTpjRhSkNkSGTSSHl5As6L3PV3bdJQptYy1o=; b=U6VoldKZyi01e4rLf5E3K7NrT/0jlZA0A4dOrGt2q4gaeuPWcE4Xqnl9gNUd+SgNVb YKWGEQ8DjvmOfnIgv3JtruNbQzBGZwCUH1022O//C9DU2PylRL4AQCu6ZPdflu9ftDLR rWS2ZSCaaKBh+CUbZW66iWSkYgJmOg/VJyC60Tri6h9aXhl76qRWVDHY2pyLjM8PR0Ez xQE4dcpqwstzr9Hv8ctW5+qvsiDOX8rN5SnVacDgleQfPKehpedi0wgK2XWxO07MsFqn Bk4j4HHMrWNsglSy8bMdJ5Syq13GdTjuBtGBgCEFj23lDQVQJTTkYZYogJE1rJZ6Nhwi qYSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=fgp4v8P6; 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 l184si4035245pgd.203.2019.08.16.09.23.16; Fri, 16 Aug 2019 09:23:32 -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; dkim=pass header.i=@linux-foundation.org header.s=google header.b=fgp4v8P6; 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 S1726469AbfHPQVO (ORCPT + 99 others); Fri, 16 Aug 2019 12:21:14 -0400 Received: from mail-lj1-f180.google.com ([209.85.208.180]:34441 "EHLO mail-lj1-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726129AbfHPQVO (ORCPT ); Fri, 16 Aug 2019 12:21:14 -0400 Received: by mail-lj1-f180.google.com with SMTP id x18so5840645ljh.1 for ; Fri, 16 Aug 2019 09:21:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=ymHwSq4wTpjRhSkNkSGTSSHl5As6L3PV3bdJQptYy1o=; b=fgp4v8P6AxU+KKUY1EDc5rYVP1G7Mk7BIPRI7oZVb9n5xTGtQUQwxxYGrbtt4g5Gu3 D4qg2XzBD6zjFtV9FiMyLGBsnngoRe1p7cJuCZFYZmtZ0f0vQtQMdktkSt0/8nrR0Aoz iLR92sZEp4yc9Ff9XsWy9gGBabbw281EZw/wg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=ymHwSq4wTpjRhSkNkSGTSSHl5As6L3PV3bdJQptYy1o=; b=OybmTdqftF2eA52E7uPk95nLIhVD85NerDXI9kERm8Z3YxfltB7r2SwU4DwJzfAlrK QedQSzqQ15986J9iM9ynL6k3NgISsOpSNDRe/CIw+yrWyex0gkrprud569xEo37FOkWI inZeXWkz96c+U8CQu8zFxUgIeozhEROMXlJ6yNni8Vo0Q9Cz8bFH3A2tTOi5FYg3BKF3 wrkfCoGcPVHnsGhX3kMUsf06G+74KCEAxZUZCSR/rnVyMKffTWRpWO9hGhNLTZu9Us89 8TLQ3dnzMd3Ga+Ow/u3krxDjsO1CoRHFMvZfaJlE6q0JH6ulXCOZsuDoy0m37g3ikDtX QYjA== X-Gm-Message-State: APjAAAXgl4A5E/is7GcH3+ZcW8xhfgYFGcYucPSzMakHdP9PiUl2+pXs JcJhA5GijhKEYlfG4Ul72Fogk7ls7ls= X-Received: by 2002:a2e:9cc6:: with SMTP id g6mr6208754ljj.22.1565972472100; Fri, 16 Aug 2019 09:21:12 -0700 (PDT) Received: from mail-lj1-f179.google.com (mail-lj1-f179.google.com. [209.85.208.179]) by smtp.gmail.com with ESMTPSA id r76sm1024710ljb.13.2019.08.16.09.21.08 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 16 Aug 2019 09:21:09 -0700 (PDT) Received: by mail-lj1-f179.google.com with SMTP id z17so5845241ljz.0 for ; Fri, 16 Aug 2019 09:21:08 -0700 (PDT) X-Received: by 2002:a2e:3a0e:: with SMTP id h14mr6088169lja.180.1565972468547; Fri, 16 Aug 2019 09:21:08 -0700 (PDT) MIME-Version: 1.0 References: <20190808154240.9384-1-hch@lst.de> <20190816062751.GA16169@infradead.org> <20190816115735.GB5412@mellanox.com> <20190816123258.GA22140@lst.de> In-Reply-To: <20190816123258.GA22140@lst.de> From: Linus Torvalds Date: Fri, 16 Aug 2019 09:20:52 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: cleanup the walk_page_range interface To: Christoph Hellwig Cc: Jason Gunthorpe , Christoph Hellwig , Andrew Morton , =?UTF-8?Q?Thomas_Hellstr=C3=B6m?= , Jerome Glisse , Steven Price , Linux-MM , Linux List Kernel Mailing , Minchan Kim Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 16, 2019 at 5:33 AM Christoph Hellwig wrote: > > I see two new walk_page_range user in linux-next related to MADV_COLD > support (which probably really should use walk_range_vma), and then > there is the series from Steven, which hasn't been merged yet. It does sound like this might as well just be handled in linux-next, and there's no big advantage in me pulling the walker cleanups early. Honestly, even if it ends up being handled as a conflict resolution issue (rather than some shared branch), it probably simply isn't all that painful. We have those kinds of semantic conflicts all the time, it doesn't worry me too much. So I'm not worried about new _users_ of the page walker concurrently with the page walker interface itself being cleaned up. Those kinds of conflicts end up being "just make sure to update the new users to the new interface when they get pulled". Happens all the time. I'd be more worried about two different branches wanting to change the internal implementation of the page walker itself, and the actual *code* itself getting conflicts (as opposed to the interface vs users kind of conflicts). Those kinds of conflicts can be messy. But it sounds like Thomas Hellstr=C3=B6m's changes aren't that kind of thing. I'm still willing to do the early merge if it turns out to be hugely helpful, but from the discussion so far it does sound like "just merge during 5.4 merge window" is perfectly fine. Linus