Date: Mon, 25 Jun 2007 18:46:14 +0000 (UTC) From: Xin LI <delphij@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/fs/tmpfs tmpfs.h tmpfs_subr.c tmpfs_uma.c tmpfs_uma.h tmpfs_vfsops.c tmpfs_vnops.c Message-ID: <200706251846.l5PIkE1L089974@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
delphij 2007-06-25 18:46:14 UTC
FreeBSD src repository
Modified files:
sys/fs/tmpfs tmpfs.h tmpfs_subr.c tmpfs_uma.c
tmpfs_uma.h tmpfs_vfsops.c tmpfs_vnops.c
Log:
MFp4: Several clean-ups and improvements over tmpfs:
- Remove tmpfs_zone_xxx KPI, the uma(9) wrapper, since
they does not bring any value now.
- Use |= instead of = when applying VV_ROOT flag.
- Remove tm_avariable_nodes list. Use uma to hold the
released nodes.
- init/destory interlock mutex of node when init/fini
instead of ctor/dtor.
- Change memory computing using u_int to fix negative
value in 2G mem machine.
- Remove unnecessary bzero's
- Rely uma logic to make file id allocation harder to
guess.
- Fix some unsigned/signed related things. Make sure
we respect -o size=xxxx
- Use wire instead of hold a page.
- Pass allocate_zero to obtain zeroed pages upon first
use.
Submitted by: Howard Su
Approved by: re (tmpfs blanket, kensmith)
Revision Changes Path
1.2 +8 -5 src/sys/fs/tmpfs/tmpfs.h
1.4 +13 -52 src/sys/fs/tmpfs/tmpfs_subr.c
1.2 +6 -18 src/sys/fs/tmpfs/tmpfs_uma.c
1.2 +5 -17 src/sys/fs/tmpfs/tmpfs_uma.h
1.2 +70 -23 src/sys/fs/tmpfs/tmpfs_vfsops.c
1.3 +4 -7 src/sys/fs/tmpfs/tmpfs_vnops.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200706251846.l5PIkE1L089974>
