Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp7201308imm; Tue, 28 Aug 2018 08:01:12 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZil7GvdkVuiDwnO3g1s/tYDFRW9Px8T2UDxdJ6lgHiZGUGucBXcKExtjB6g71txRD0/qcA X-Received: by 2002:a63:9f19:: with SMTP id g25-v6mr1956506pge.165.1535468472364; Tue, 28 Aug 2018 08:01:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535468472; cv=none; d=google.com; s=arc-20160816; b=TY/cyXKHUEr+faTztE4bFpYL7D6Q7O0eAqpzKVZ+6qMLYwhdJnuYwIDW/xwSk8+HCX Y45l6QSffXn/800035ralCtgfStJnCmi5oebxCdP0h8yuGg0zTJ7EcHWWBkDsbdCWqSG /1FhxGnLWrYXph4OFWwUWXaJkRFgNVkgmCQJ15bqvh56IRDtEtcRdFB9gk2lWxT4bxqF WBiofLoK5gLeavxrW7LDPKrbZ6Oj27t5jLOB66XRQaJjSjXKOWXULS0/eS/+Pzi0z+Ux f8yUwohx+5q8w/F+FROFwJzvYw0vfNT14XJTBpP4Q4x7U2zR7vniEBFPBzi6T4qv9THU yTcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=IvyoQtmq78o1GLbrdsrBmxk4/oo+yXg7kMb6YQ3nLKs=; b=chghdu7KXXu9k24vpagq2Pz+fcZ0wv4+l7zsdEcKpxXvQtDziECLbDqUem1wf03baR PNp/x6kuyb85AnQ2smMtb88gqlMbb+n1Pbr962S2BOmdHsTV9U9X7L/zwD4JRRJ+ojFQ H9LjemTIQHaDRCN66aExYpS/3MW7lFCb/lw29G6SGqnnTQWFJS1LGR6vXOKLBexDaqgA PkF602jWTbpUvV1PKSrw8u1MhtFX/NbvB8DXkYkv6YEsRRtffB3OEjZGlmhHVNvtlusx 4+UO8ibYTRKMGx6+jtXFLk8Gj0FlXPTZn/rQx/46uqD2oG+ilA5dguiUk80NhcUFYjJh yL5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=KEJ0LRKp; 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 u2-v6si1174873pge.585.2018.08.28.08.00.56; Tue, 28 Aug 2018 08:01:12 -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=KEJ0LRKp; 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 S1728021AbeH1Stk (ORCPT + 99 others); Tue, 28 Aug 2018 14:49:40 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:57474 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727067AbeH1Stk (ORCPT ); Tue, 28 Aug 2018 14:49:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Message-Id:Date:Subject:Cc:To:From: Sender:Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding: 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=IvyoQtmq78o1GLbrdsrBmxk4/oo+yXg7kMb6YQ3nLKs=; b=KEJ0LRKpf9rV9T1Cg2ydJTohw DMtCEXvJxrNDegeBQtDEvwa0R003EkmlNUnembT6NBudhfQRwoSCGGx96mZsC2UNWIWxk+SLBVI5W 0I8afgC7iyonpf+O7HnlUzmeTpPKjv0Dg+Ccps3xb6pBR+zW5MDw+Z1Bx0hUuDZsiI7vQz7OWu84T zA5RZwMVvUNBTosrnjE9Ue/ah0/bu2Eyxd7O8EGFBK4ZaLyQCar5fV7s2ZbN+cIjJayDQkwczKqb7 zgRltv7bHO2PLry/QkYZkixbX6yTPB27b2BMwPqoH6Ui0etMpssSTaJ+9WFRewfivC9rHEDknTPUO QqRHwQOeg==; Received: from willy by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1fufR1-0003A6-N1; Tue, 28 Aug 2018 14:57:35 +0000 From: Matthew Wilcox To: Andrew Morton Cc: Matthew Wilcox , Nicolas Pitre , Souptick Joarder , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [PATCH 00/10] Push the vm_fault_t conversion further Date: Tue, 28 Aug 2018 07:57:18 -0700 Message-Id: <20180828145728.11873-1-willy@infradead.org> X-Mailer: git-send-email 2.14.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch series reaps some of the benefits of the vm_fault_t work that Souptick has been diligently plugging away at by converting insert_pfn() to return a vm_fault_t. Eventually, we'll be able to do the same thing to insert_page(), but there's more work to be done converting all current callers of vm_insert_page() to vmf_insert_page(), and this patch series provides a nice clean-up. Nicolas, I'd like your reviewed-by on patch 1 please. Matthew Wilcox (10): cramfs: Convert to use vmf_insert_mixed mm: Remove vm_insert_mixed mm: Introduce vmf_insert_pfn_prot x86: Convert vdso to use vm_fault_t mm: Make vm_insert_pfn_prot static mm: Remove references to vm_insert_pfn mm: Remove vm_insert_pfn mm: Inline vm_insert_pfn_prot into caller mm: Convert __vm_insert_mixed to vm_fault_t mm: Convert insert_pfn to vm_fault_t Documentation/x86/pat.txt | 4 +- arch/x86/entry/vdso/vma.c | 24 +++---- fs/cramfs/inode.c | 9 ++- include/asm-generic/pgtable.h | 4 +- include/linux/hmm.h | 2 +- include/linux/mm.h | 32 +-------- mm/memory.c | 122 +++++++++++++++++----------------- 7 files changed, 84 insertions(+), 113 deletions(-) -- 2.18.0