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=-8.5 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham 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 3E2DCC3A5A6 for ; Wed, 28 Aug 2019 14:20:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0F52D2189D for ; Wed, 28 Aug 2019 14:20:07 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="m0HDtaH5" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726743AbfH1OUG (ORCPT ); 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