From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gerd Hoffmann Subject: Re: building blktap as a module Date: Mon, 16 Oct 2006 16:07:25 +0200 Message-ID: <4533921D.4000908@suse.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: Andrew Warfield , xen-devel@lists.xensource.com, Jan Beulich List-Id: xen-devel@lists.xenproject.org Keir Fraser wrote: > > > On 16/10/06 12:45, "Gerd Hoffmann" wrote: > >> The linux kernel does call the drivers release() method when the last >> reference is gone. If you call close() with mappings still being >> active, then ->release() is _not_ called when you close the file handle >> but when the last mapping is unmapped. Thus there is no point in trying >> to handle active mappings there ;) > > I.e., they'll have been unmapped already? Yes. > As you say, either way the zap is > not needed... Yep, I just wanted to fill in some more background info ... cheers, Gerd -- Gerd Hoffmann http://www.suse.de/~kraxel/julika-dora.jpeg