Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp931470ybl; Wed, 28 Aug 2019 07:22:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqzCNJMZb9JOYlLytCr1w8Po532J8tNwcNSfMosHEqw8k7Zi7S+4VWrUAexbUbOetda/R0tV X-Received: by 2002:a62:7d93:: with SMTP id y141mr4966162pfc.164.1567002136076; Wed, 28 Aug 2019 07:22:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567002136; cv=none; d=google.com; s=arc-20160816; b=kBrjqahnQkVszV5Kp1UkA8UuUYPJ5HkU4yH2jSeE0UH9pu23VHP11krOZ//VtXsG9/ 6QBUuOQ+XCE3aJseL4vTAF7HsC39y2ZsEB0+0CAp/iwinsHeTp0q1shGaRtcqY9krvpq OBRW8RUkkJqaY3VniSD/Rn0ipmk4b5Z1YwewZwkALD8TKNtZ6WxWfENqmcIhdFmZtmNO +YAllaTs2Mv6qGHKg8HFUSCzUbvSrMFxzywlmhVtpi4X2lucsMkkErWupPk/BK1vncgK MSkOmz2OwCixnIJEFq4HEPWfnAh+YdQGhBhLJRJ/Uo8lETR3uzspHZd8xTWosWWRZzGw tJnw== 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:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=sZQvKKkgBv7RVxq8tsnNgXRW8GAf4XjhXYGu51O59q8=; b=tLMYgeDgkRcqBu7D7wE83dIWUk7qysWdlG8vA7B7LtTLp0Uhz2uiAm3Amzf/+fEc+V zSTccmCnaBTk4bgW1VZqBEbB8Nn/P0FEbGrTkeUgd5BSbvRLsSG0WmAVwUcPbv3jO7e1 qmjCy3XUJ1klmHqKIKIM7AWWD0Fz5Lvw24Yjd+BWsDym5Uzf1wX8nTNGE+SUKtnAVHSL Jq94fVy4gdYyCt0rQM25ufbx7qPbUmGec8dyuSWhrbbXKQv6X7kLIwUUelIlJL6zZ6Bp AIzaYKDr501n104CsbvfXRsITPT0PWFg+zYduvCSuYiu2t0XPuMs83cLH24RSIrp09hW AUsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=m0HDtaH5; 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 m135si2631824pfd.77.2019.08.28.07.22.00; Wed, 28 Aug 2019 07:22:16 -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=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=m0HDtaH5; 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 S1726603AbfH1OUG (ORCPT + 99 others); Wed, 28 Aug 2019 10:20:06 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:45864 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726410AbfH1OUF (ORCPT ); Wed, 28 Aug 2019 10:20:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=sZQvKKkgBv7RVxq8tsnNgXRW8GAf4XjhXYGu51O59q8=; b=m0HDtaH5Jw2DKV9t1fgm5v3dl bvDe+ZS2ajBH52xopxxJMHK7QOkiDyQYSAiPbltkHDNapsJRTQG7RcaRuVQSFk2RchqTP3KtSjApL yubTIqSK+c5RsBbxz83rYCW10Q37RBkA8Rk+YoZty3Q8ZCv6XGucvHCteecuHB1QzxR9MxAG96r0E +uoHU2j7Bzty5cn2fkR2ApVczM7UeUS8E6JMM251urmA4mW76KccUfrl28wn3sBuU/hNP0xASxCdw nFIdMFqiPITtzHqJ44tSxGoTQrqygDaDqGk9OPGWp5uLWo0TvnYME0KvKzn0P7wOQDlTgE6NSYbkR MxwC/N5ZA==; Received: from [2001:4bb8:180:3f4c:863:2ead:e9d4:da9f] (helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.92 #3 (Red Hat Linux)) id 1i2ynl-0003yk-Ri; Wed, 28 Aug 2019 14:19:58 +0000 From: Christoph Hellwig To: Linus Torvalds , Andrew Morton Cc: =?UTF-8?q?Thomas=20Hellstr=C3=B6m?= , Jerome Glisse , Jason Gunthorpe , Steven Price , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: cleanup the walk_page_range interface v2 Date: Wed, 28 Aug 2019 16:19:52 +0200 Message-Id: <20190828141955.22210-1-hch@lst.de> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi all, 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. This series is also available as a git tre here: git://git.infradead.org/users/hch/misc.git pagewalk-cleanup Gitweb: http://git.infradead.org/users/hch/misc.git/shortlog/refs/heads/pagewalk-cleanup Diffstat: 14 files changed, 291 insertions(+), 273 deletions(-) Changes since v1: - minor comment typo and checkpatch fixes - fix a compile failure for !CONFIG_SHMEM - rebased to the wip/jgg-hmm branch