Slight change of vnode<-->vm object relationship.
Poul-Henning Kamp
phk at phk.freebsd.dk
Tue Jan 11 15:08:42 PST 2005
In message <34cb7c84050111145415980aa2 at mail.gmail.com>, Peter Edwards writes:
>How about mmap() mappings after the close()? These can persist post
>VOP_CLOSE, can't they?
I belive they hold a reference to the vnode so that it is in fact
not really closed after all, it just looks that way from userland.
If that wasn't the case, then we would be leaking diskspace all
over the place if people did:
create file
fill with data
mmap
unlink file
close file
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
More information about the freebsd-arch
mailing list