[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] building blktap as a module



Keir Fraser wrote:
> 
> 
> On 16/10/06 12:45, "Gerd Hoffmann" <kraxel@xxxxxxx> 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 <kraxel@xxxxxxx>
http://www.suse.de/~kraxel/julika-dora.jpeg

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.