From owner-freebsd-current Sun May 24 11:06:36 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA19239 for freebsd-current-outgoing; Sun, 24 May 1998 11:06:36 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from xyzzy.machaon.ru ([195.218.138.130]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA19177; Sun, 24 May 1998 11:06:04 -0700 (PDT) (envelope-from dima@xyzzy.machaon.ru) Received: from localhost (localhost [127.0.0.1]) by xyzzy.machaon.ru (8.8.8/8.8.5) with ESMTP id WAA00993; Sun, 24 May 1998 22:05:50 +0400 (MSD) Message-Id: <199805241805.WAA00993@xyzzy.machaon.ru> X-Mailer: exmh version 2.0.1 12/23/97 To: Peter Wemm 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 In-Reply-To: Your message of "Sun, 24 May 1998 07:41:58 PDT." <199805241441.HAA24955@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 24 May 1998 22:05:50 +0400 From: Dmitry Khrustalev Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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