Date: Sun, 27 Jun 1999 17:51:06 -0700 From: Jason Thorpe <thorpej@nas.nasa.gov> To: Alexander Viro <viro@math.psu.edu> Cc: der Mouse <mouse@Rodents.Montreal.QC.CA>, Francois-Rene Rideau <fare@tunes.org>, FreeBSD Hackers <freebsd-hackers@FreeBSD.ORG>, NetBSD Kernel <tech-kern@netbsd.org>, Linux Kernel <linux-kernel@vger.rutgers.edu> Subject: Re: Improving the Unix API Message-ID: <199906280051.RAA07365@lestat.nas.nasa.gov>
next in thread | raw e-mail | index | archive | help
On Sun, 27 Jun 1999 20:43:28 -0400 (EDT) Alexander Viro <viro@math.psu.edu> wrote: > Forced revoke()? But then there is mmap() and IIRC revoke() on *BSD > doesn't unmap the stuff. Oh, shit, there is such thing as pending > unlink... Does vgone() force it? It doesn't unmap the region, but it doesn't allow any more page faults from that backing vnode (the pager will get an error from the file system, and thus send a SIGSEGV to the process), and no dirty pages can be cleaned to that vnode. I mean, you wouldn't invalidate any buffers the user read the file into when the file was revoke()'d, would you? :-) Regarding unlink()... those aren't operations on vnodes. Those are operations on the filesystem namespace, and are thus (correctly) unaffected. -- Jason R. Thorpe <thorpej@nas.nasa.gov> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199906280051.RAA07365>