Date: Fri, 29 Jun 2007 05:23:16 +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/conf files src/sys/modules/tmpfs Makefile src/sys/fs/tmpfs tmpfs.h tmpfs_subr.c tmpfs_uma.c tmpfs_uma.h tmpfs_vfsops.c tmpfs_vnops.c Message-ID: <200706290523.l5T5NGo9056276@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
delphij 2007-06-29 05:23:15 UTC FreeBSD src repository Modified files: sys/conf files sys/modules/tmpfs Makefile sys/fs/tmpfs tmpfs.h tmpfs_subr.c tmpfs_vfsops.c tmpfs_vnops.c Removed files: sys/fs/tmpfs tmpfs_uma.c tmpfs_uma.h Log: MFp4: - Remove unnecessary NULL checks after M_WAITOK allocations. - Use VOP_ACCESS instead of hand-rolled suser_cred() calls. [1] - Use malloc(9) KPI to allocate memory for string. The optimization taken from NetBSD is not valid for FreeBSD because our malloc(9) already act that way. [2] Requested by: rwatson [1] Submitted by: Howard Su [2] Approved by: re (tmpfs blanket) Revision Changes Path 1.1224 +0 -1 src/sys/conf/files 1.6 +2 -4 src/sys/fs/tmpfs/tmpfs.h 1.7 +15 -29 src/sys/fs/tmpfs/tmpfs_subr.c 1.4 +0 -61 src/sys/fs/tmpfs/tmpfs_uma.c (dead) 1.5 +0 -81 src/sys/fs/tmpfs/tmpfs_uma.h (dead) 1.4 +3 -5 src/sys/fs/tmpfs/tmpfs_vfsops.c 1.6 +4 -11 src/sys/fs/tmpfs/tmpfs_vnops.c 1.2 +1 -2 src/sys/modules/tmpfs/Makefile
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200706290523.l5T5NGo9056276>