From: Gerd Hoffmann <kraxel@suse.de>
To: Keir Fraser <Keir.Fraser@cl.cam.ac.uk>
Cc: Andrew Warfield <Andrew.Warfield@xensource.com>,
xen-devel@lists.xensource.com, Jan Beulich <jbeulich@novell.com>
Subject: Re: building blktap as a module
Date: Mon, 16 Oct 2006 16:07:25 +0200 [thread overview]
Message-ID: <4533921D.4000908@suse.de> (raw)
In-Reply-To: <C1594026.291A%Keir.Fraser@cl.cam.ac.uk>
Keir Fraser wrote:
>
>
> On 16/10/06 12:45, "Gerd Hoffmann" <kraxel@suse.de> 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@suse.de>
http://www.suse.de/~kraxel/julika-dora.jpeg
prev parent reply other threads:[~2006-10-16 14:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-16 9:48 building blktap as a module Jan Beulich
2006-10-16 10:31 ` Keir Fraser
2006-10-16 11:45 ` Gerd Hoffmann
2006-10-16 12:56 ` Keir Fraser
2006-10-16 14:07 ` Gerd Hoffmann [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4533921D.4000908@suse.de \
--to=kraxel@suse.de \
--cc=Andrew.Warfield@xensource.com \
--cc=Keir.Fraser@cl.cam.ac.uk \
--cc=jbeulich@novell.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.