CVSROOT:        /cvs
Module name:    src
Changes by:     es...@cvs.openbsd.org   2013/12/14 11:01:52

Modified files:
        sys/tmpfs      : tmpfs.h tmpfs_subr.c tmpfs_vfsops.c 
                         tmpfs_vnops.c tmpfs_vnops.h 

Log message:
bring in a few improvements from pedro, guenther, me...

thanks to krw@ for the original cherry-picking, millert@ for useful comment.

so:
- no longer expose internal kernel addresses, uses seq numbers instead
- make sure the numbers don't overflow (millert@ UINT64_MAX)... a
conservative estimate is that tmpfs will run out of seqs in >600 years...
- don't malloc dents, put them on the stack and zero them
- gc whiteout code
- gc getpage/putpage code (shrink uvm instead)

okay krw@, millert@

Reply via email to