Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp395301ybl; Tue, 13 Aug 2019 23:14:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqwz+ESG+n4BpxNXGT99d1jScIVX+X7tFKQSSa2nN8mbnEND7pFT/a84zBUF6Tt0BXorOkOX X-Received: by 2002:a17:90a:5207:: with SMTP id v7mr5372180pjh.127.1565763246646; Tue, 13 Aug 2019 23:14:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565763246; cv=none; d=google.com; s=arc-20160816; b=BTaBKYZ8UIkzpcakos/m5M1Qq48yl1LAzacXgBRFj7NY6LszgdjUmPeUXyC6EimUKC 6XvlzusoIL3Ju78NSmoQuvOz/bdWel4k4zeVu4tUwtrWr3ezosV7+hm8IInxrW1o6ywu lkZED5/Z2Re4vMT176hu8td67j8LnoMfgDHt2A30irR/WUVWFy+4AdvgWMakAlyLLTpy d4QOE/9hbr21Tdw+K6qNOfLKpCCQTcHMJGE0hg5uDMM36COwxUMZDdssi2Y651z26Ui/ dfvazc1gmy300L9pcJufZrN6w496WDA4T4e0Rt0mPI2qb81xxdfq53aVhhV73inCMLc7 +tpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=1AUL6KyWyZD4+iVrxXSferwVqlDpforMBYJnsky/M8w=; b=0CtnpwggET2oUUNIye8L1LabKDHfmhsDzJuccCZH73+vUZEwQd4BLMGn4Pkh+tAoUp 6R/2rGa0gBZU+NtaG0rxV9GruT4WfFR1jSl4w63wh+O5Ks4wo7NZNTJIFJpFMtFkms5z neXM+cGNcHcaYmUVFFbaUmRfJQdBQ4GOR4iFzIgh0osBXwMlK1g3HswI0SykznAhr3KC VUWFuQueBHtVMXmxOfeOzTvcEJX+cEosYtMTd1P8UcwEiIg4HaT1UFhsFRrKA6j2a/9F JPYlEe2fIg/Xjx88fPBhf4T5MYHvkEDYU+uDEfSHus1DT9YPLovA1Y7iTu2RoFJ2Y1QV /AQQ== ARC-Authentication-Results: i=1; mx.google.com; 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 x8si60736733pln.298.2019.08.13.23.13.51; Tue, 13 Aug 2019 23:14:06 -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; 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 S1727427AbfHNGL4 (ORCPT + 99 others); Wed, 14 Aug 2019 02:11:56 -0400 Received: from verein.lst.de ([213.95.11.211]:34981 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726809AbfHNGL4 (ORCPT ); Wed, 14 Aug 2019 02:11:56 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id 20CAC68B02; Wed, 14 Aug 2019 08:11:51 +0200 (CEST) Date: Wed, 14 Aug 2019 08:11:50 +0200 From: Christoph Hellwig To: Bharata B Rao Cc: Christoph Hellwig , Dan Williams , Jason Gunthorpe , Andrew Morton , linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux-nvdimm@lists.01.org Subject: Re: [PATCH 5/5] memremap: provide a not device managed memremap_pages Message-ID: <20190814061150.GA24835@lst.de> References: <20190811081247.22111-1-hch@lst.de> <20190811081247.22111-6-hch@lst.de> <20190812145058.GA16950@in.ibm.com> <20190812150012.GA12700@lst.de> <20190813045611.GB16950@in.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190813045611.GB16950@in.ibm.com> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 13, 2019 at 10:26:11AM +0530, Bharata B Rao wrote: > Yes, this patchset works non-modular and with kvm-hv as module, it > works with devm_memremap_pages_release() and release_mem_region() in the > cleanup path. The cleanup path will be required in the non-modular > case too for proper recovery from failures. Can you check if the version here: git://git.infradead.org/users/hch/misc.git pgmap-remove-dev Gitweb: http://git.infradead.org/users/hch/misc.git/shortlog/refs/heads/pgmap-remove-dev works for you fully before I resend? > > Regards, > Bharata. ---end quoted text---