From: Trond Myklebust Subject: Re: [NFS] Re: [PATCH v2] reduce NFS stack usage Date: 25 Sep 2003 12:37:25 -0700 Sender: linux-kernel-owner@vger.kernel.org Message-ID: References: <3F7335B4.1070002@RedHat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Jeff Garzik , nfs@lists.sourceforge.net, Linux Kernel Return-path: To: Steve Dickson In-Reply-To: <3F7335B4.1070002@RedHat.com> List-ID: >>>>> " " == Steve Dickson writes: > Also, not like there much choice in matter, but I wonder what > type of performance hit (if any) there will be by making these > routines call kmalloc()... lookups and readdirs are pretty > popular ops... There are always alternatives... If really this is a problem, how about slabifying the structs nfs_fattr and/or nfs_fh? Also, since nfs_entry is only large due to the fh and fattr fields which are unused unless you have READDIRPLUS (in which case they are converted to pointers anyhow), how about kicking them out of nfs_entry altogether? Cheers, Trond