From owner-freebsd-current Wed Apr 30 13:07:24 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id NAA14322 for current-outgoing; Wed, 30 Apr 1997 13:07:24 -0700 (PDT) Received: from who.cdrom.com (who.cdrom.com [204.216.27.3]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id NAA14278 for ; Wed, 30 Apr 1997 13:07:15 -0700 (PDT) Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by who.cdrom.com (8.8.5/8.6.11) with ESMTP id MAA07092 for ; Wed, 30 Apr 1997 12:06:57 -0700 (PDT) Received: (from daemon@localhost) by alpo.whistle.com (8.8.5/8.8.5) id LAA05133; Wed, 30 Apr 1997 11:58:56 -0700 (PDT) Received: from current1.whistle.com(207.76.205.22) via SMTP by alpo.whistle.com, id smtpd005129; Wed Apr 30 18:58:52 1997 Message-ID: <3367964E.59E2B600@whistle.com> Date: Wed, 30 Apr 1997 11:58:22 -0700 From: Julian Elischer Organization: Whistle Communications X-Mailer: Mozilla 3.0Gold (X11; I; FreeBSD 2.2-CURRENT i386) MIME-Version: 1.0 To: Poul-Henning Kamp CC: Doug Rabson , current@freebsd.org Subject: Re: vnode->v_usage References: <207.862417862@critter> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Poul-Henning Kamp wrote: > > Well, I've done it. Here is a patch that implements LRU for name-cache > hits on the vnode freelist. I doubt that it has any performance impact, > but it makes the vnode 4 bytes smaller, which is a good thing. Why? are they just over a power of 2 in length now? do we need to lose 4 bytes? > > Please test and report. > > Recompile or rename your LKMs before trying this! > > Poul-Henning > > Index: sys/vnode.h > ===================================================================