From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linuxfoundation.org (mail.linuxfoundation.org [140.211.169.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id B9DDF207DF295 for ; Tue, 17 Jul 2018 14:37:52 -0700 (PDT) Date: Tue, 17 Jul 2018 14:37:50 -0700 From: Andrew Morton Subject: Re: [PATCH v2] mm: disallow mapping that conflict for devm_memremap_pages() Message-Id: <20180717143750.3cd7e77544d181a346212715@linux-foundation.org> In-Reply-To: <152909478401.50143.312364396244072931.stgit@djiang5-desk3.ch.intel.com> References: <152909478401.50143.312364396244072931.stgit@djiang5-desk3.ch.intel.com> Mime-Version: 1.0 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-nvdimm-bounces@lists.01.org Sender: "Linux-nvdimm" To: Dave Jiang Cc: linux-mm@kvack.org, linux-nvdimm@lists.01.org List-ID: On Fri, 15 Jun 2018 13:33:39 -0700 Dave Jiang wrote: > When pmem namespaces created are smaller than section size, this can cause > issue during removal and gpf was observed: > > ... > > Add code to check whether we have mapping already in the same section and > prevent additional mapping from created if that is the case. > Which kernel version(s) do you believe need this fix, and why? _______________________________________________ Linux-nvdimm mailing list Linux-nvdimm@lists.01.org https://lists.01.org/mailman/listinfo/linux-nvdimm