Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4153598ybl; Mon, 3 Feb 2020 13:38:28 -0800 (PST) X-Google-Smtp-Source: APXvYqw7t1umNHv4/a4E4IubTqaf3Cl70RmxNXaESXTC8OeGbsRPS4fMqBQQ9GJcKrbXH8G2xmo6 X-Received: by 2002:a9d:8f1:: with SMTP id 104mr18152903otf.107.1580765907949; Mon, 03 Feb 2020 13:38:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580765907; cv=none; d=google.com; s=arc-20160816; b=bum/ufkepbAGiOtX/a2/VPG2BgK/GSJDkEYX5Rq8k0ZuzdPlAsU3Ju/ztj/LqayyYD 5sh7mzlqKg+dx/cSh/1e3dgavoHO6k/HBSHLm5olg9PRMO6OH1mGVN2V/EysU6tpI/Is ZIGCNRAv85ObzW0FRj2LbYCt5z18L8rBFoL/sfzriAaeE9DqylylYWUpbi98pBNJgmfA YfNn9IQNH+sJcChUUvhfjLUIC6qbLfXnwwUy9Skn2ZDNBMC8aA4jA3wY9o7As7NGLpDM M9qVLyIAusezHyuiHFx+iuSqJBTmU2KsHLDizJizvE7fhEFtXOUJnMRyXPnlpFuLu+qt y9Jw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=EeOvvWZvH50eEtBKHt08qpUyamao6FaQ0LtUnWK0t5w=; b=wsu+XB7bfz2o8EtjNU0PgXfJkeubS5Ufjh1qU6IFTixRRgbN0iLfnZ6ffGnuytEDb0 bJrX4hseOruhqk7vnnvr2+SEmuJ6g4CWBT7WY11HYYEMYbe2PdCwG5DPKZiWV/sInFIF 6bsaE4pB2nSAA/DWSs7sghNsS4tcITDCJlEOIGXiyv+gNTlbNDwg/UWYKHAOSGy8gvbz 7n63S5oRlLq/zhOr2qYCB63+kLIXKjiYdJ8eO1VQYf93bSa6WTHJxLSkr0YuH0rYG/BI +4QD1K1y6QoetFrXI9Nql3kbHA0Z8ceuE3gTiNBW9LHNd1dlgsJWUWAxYkZbMnQFcNfR gElw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b="MbYqw/Vx"; 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 h18si8894997otr.265.2020.02.03.13.38.16; Mon, 03 Feb 2020 13:38:27 -0800 (PST) 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="MbYqw/Vx"; 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 S1727004AbgBCVhW (ORCPT + 99 others); Mon, 3 Feb 2020 16:37:22 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:58248 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726278AbgBCVhW (ORCPT ); Mon, 3 Feb 2020 16:37:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=EeOvvWZvH50eEtBKHt08qpUyamao6FaQ0LtUnWK0t5w=; b=MbYqw/Vx49lRe78eDwZHP4w6TQ AFN++lIatMW4RPg/gX94FI0W6fBb+aofjMfYjdZf2T4WYLPc7hk9sPYr2XepIC2kngyt5oWzR5Ar4 FcAMWsZ+tpIgZdVNLm7Ys9M1agWjLMHSXX6nGIwvk4lK0hf3Khqnt0Nst+2zDuQQO3b4gBuTDHm5q /bQ67UZbBgjnmnrXWRFAE6UlKG/ETmoHmPhfKHNoLJ1mCTjO2ryl4Ix/Tak+7/1IAnzk3gFgDma21 0G622TPsNo9G0c9ZKdm+yeDwghp2gZLQnxF5JUafrOyFDT3OQZt/W836k7QOwEehg/ZwWiKWps8K7 Ne8pgJ0A==; Received: from willy by bombadil.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1iyjPD-0005ga-0O; Mon, 03 Feb 2020 21:37:19 +0000 Date: Mon, 3 Feb 2020 13:37:18 -0800 From: Matthew Wilcox To: Joao Martins Cc: linux-nvdimm@lists.01.org, Dan Williams , Vishal Verma , Dave Jiang , Ira Weiny , Alex Williamson , Cornelia Huck , kvm@vger.kernel.org, Andrew Morton , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H . Peter Anvin" , x86@kernel.org, Liran Alon , Nikita Leshenko , Barret Rhoden , Boris Ostrovsky , Konrad Rzeszutek Wilk Subject: Re: [PATCH RFC 02/10] mm: Handle pmd entries in follow_pfn() Message-ID: <20200203213718.GL8731@bombadil.infradead.org> References: <20200110190313.17144-1-joao.m.martins@oracle.com> <20200110190313.17144-3-joao.m.martins@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200110190313.17144-3-joao.m.martins@oracle.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 10, 2020 at 07:03:05PM +0000, Joao Martins wrote: > @@ -4366,6 +4366,7 @@ EXPORT_SYMBOL(follow_pte_pmd); > int follow_pfn(struct vm_area_struct *vma, unsigned long address, > unsigned long *pfn) > { > + pmd_t *pmdpp = NULL; Please rename to 'pmdp'.