Date: Sun, 24 May 1998 22:05:50 +0400 From: Dmitry Khrustalev <dima@xyzzy.machaon.ru> To: Peter Wemm <peter@FreeBSD.ORG> Cc: current@FreeBSD.ORG, dima@bog.msu.su Subject: Re: cvs commit: src/sys/nfs nfs.h nfs_node.c nfs_nqlease.c nfs_subs.c nfs_vfsops.c Message-ID: <199805241805.WAA00993@xyzzy.machaon.ru> In-Reply-To: Your message of "Sun, 24 May 1998 07:41:58 PDT." <199805241441.HAA24955@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
I'm not sure this is a good idea. Memory allocated from zone is never returned to the system. There could be periods of high NFS activity and periods of no NFS activity at all when this allocation of wired kernel memory would be wasted. -Dima > peter 1998/05/24 07:41:58 PDT > > Modified files: > sys/nfs nfs.h nfs_node.c nfs_nqlease.c nfs_subs.c > nfs_vfsops.c > Log: > Convert a couple of large allocations to use zones rather than malloc > for better packing. This means that we can choose better values for the > various hash entries without having to try and get it all to fit within > an artificial power of two limit for malloc's sake. > > Revision Changes Path > 1.36 +6 -4 src/sys/nfs/nfs.h > 1.27 +9 -14 src/sys/nfs/nfs_node.c > 1.35 +4 -2 src/sys/nfs/nfs_nqlease.c > 1.55 +3 -9 src/sys/nfs/nfs_subs.c > 1.63 +8 -6 src/sys/nfs/nfs_vfsops.c > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199805241805.WAA00993>