From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ale.deltatee.com (ale.deltatee.com [207.54.116.67]) (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 755C6221EA0C8 for ; Thu, 7 Dec 2017 11:30:02 -0800 (PST) References: <20171207150840.28409-1-hch@lst.de> <20171207150840.28409-12-hch@lst.de> From: Logan Gunthorpe Message-ID: <672dce2f-49a7-a63c-34a1-54b04cb62c75@deltatee.com> Date: Thu, 7 Dec 2017 12:34:34 -0700 MIME-Version: 1.0 In-Reply-To: <20171207150840.28409-12-hch@lst.de> Content-Language: en-US Subject: Re: [PATCH 11/14] memremap: simplify duplicate region handling in devm_memremap_pages List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: linux-nvdimm-bounces@lists.01.org Sender: "Linux-nvdimm" To: Christoph Hellwig , Dan Williams Cc: linux-mm@kvack.org, =?UTF-8?B?SsOpcsO0bWUgR2xpc3Nl?= , linux-nvdimm@lists.01.org List-ID: On 07/12/17 08:08 AM, Christoph Hellwig wrote: > __radix_tree_insert already checks for duplicates and returns -EEXIST in > that case, so remove the duplicate (and racy) duplicates check. > > Signed-off-by: Christoph Hellwig Reviewed-by: Logan Gunthorpe _______________________________________________ Linux-nvdimm mailing list Linux-nvdimm@lists.01.org https://lists.01.org/mailman/listinfo/linux-nvdimm From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-it0-f70.google.com (mail-it0-f70.google.com [209.85.214.70]) by kanga.kvack.org (Postfix) with ESMTP id A86FB6B025E for ; Thu, 7 Dec 2017 14:34:37 -0500 (EST) Received: by mail-it0-f70.google.com with SMTP id k186so13061486ith.1 for ; Thu, 07 Dec 2017 11:34:37 -0800 (PST) Received: from ale.deltatee.com (ale.deltatee.com. [207.54.116.67]) by mx.google.com with ESMTPS id p123si3883860iod.314.2017.12.07.11.34.36 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 07 Dec 2017 11:34:36 -0800 (PST) References: <20171207150840.28409-1-hch@lst.de> <20171207150840.28409-12-hch@lst.de> From: Logan Gunthorpe Message-ID: <672dce2f-49a7-a63c-34a1-54b04cb62c75@deltatee.com> Date: Thu, 7 Dec 2017 12:34:34 -0700 MIME-Version: 1.0 In-Reply-To: <20171207150840.28409-12-hch@lst.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [PATCH 11/14] memremap: simplify duplicate region handling in devm_memremap_pages Sender: owner-linux-mm@kvack.org List-ID: To: Christoph Hellwig , Dan Williams Cc: =?UTF-8?B?SsOpcsO0bWUgR2xpc3Nl?= , linux-nvdimm@lists.01.org, linux-mm@kvack.org On 07/12/17 08:08 AM, Christoph Hellwig wrote: > __radix_tree_insert already checks for duplicates and returns -EEXIST in > that case, so remove the duplicate (and racy) duplicates check. > > Signed-off-by: Christoph Hellwig Reviewed-by: Logan Gunthorpe -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org