From owner-cvs-all@FreeBSD.ORG Mon Jun 25 18:46:14 2007 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 68AC616A41F; Mon, 25 Jun 2007 18:46:14 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 5911413C458; Mon, 25 Jun 2007 18:46:14 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l5PIkEB8089975; Mon, 25 Jun 2007 18:46:14 GMT (envelope-from delphij@repoman.freebsd.org) Received: (from delphij@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l5PIkE1L089974; Mon, 25 Jun 2007 18:46:14 GMT (envelope-from delphij) Message-Id: <200706251846.l5PIkE1L089974@repoman.freebsd.org> From: Xin LI Date: Mon, 25 Jun 2007 18:46:14 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/fs/tmpfs tmpfs.h tmpfs_subr.c tmpfs_uma.c tmpfs_uma.h tmpfs_vfsops.c tmpfs_vnops.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Jun 2007 18:46:14 -0000 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