Source-Changes-D archive

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

Re: CVS commit: src/sys/fs/tmpfs



On Sat, Apr 11, 2009 at 01:32:09AM +0300, Antti Kantee wrote:

> On Fri Apr 10 2009 at 21:34:10 +0000, Andrew Doran wrote:
> > On Fri, Apr 10, 2009 at 06:57:45PM +0200, Frank Kardel wrote:
> > 
> > > It may be related: I am now seeing a tmpfs uvm_fault():
> > > 
> > > hand copied bt:
> > > uvm_fault()
> > > tmpfs_do_detach()
> > > tmpfs_remove()
> > > VOP_REMOVE()
> > > do_sys_unlink()
> > > syscall()
> > 
> > It may be this: http://gnats.netbsd.org/41183
> 
> Might be.  I filed a PR for that ages ago and had forgotten all about
> it by now.  See kern/38188.

On the face of it what do you think of:

- preserve pnbuf across entirety of operations that use it
- retire SAVENAME, VOP_ABORTOP()
- encapsulate operations with namei_init(), fini() or whatnot.
- copy pathname to persistent storage where required (NFS?)


Home | Main Index | Thread Index | Old Index