From owner-freebsd-hackers Sat Dec 8 12:17:34 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by hub.freebsd.org (Postfix) with ESMTP id AC7A637B419 for ; Sat, 8 Dec 2001 12:17:30 -0800 (PST) Received: (from dillon@localhost) by apollo.backplane.com (8.11.6/8.9.1) id fB8KHTs06498; Sat, 8 Dec 2001 12:17:29 -0800 (PST) (envelope-from dillon) Date: Sat, 8 Dec 2001 12:17:29 -0800 (PST) From: Matthew Dillon Message-Id: <200112082017.fB8KHTs06498@apollo.backplane.com> To: Chad David Cc: hackers@FreeBSD.ORG Subject: Re: kern_vfs_bio_buffer_alloc() question References: <20011208131253.A2592@colnta.acns.ab.ca> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG :Am I wrong, or does the nbuf calculation in kern_vfs_bio_buffer_alloc() :depend on a 4096B page size in order to do what the comment says it does? : :Doesn't the calculation allocate more buffer headers for machines with :4096B pages then it does for machines with 8192B pages? Is this on :purpose, or am I missing something? : :Thanks. : :-- :Chad David davidc@acns.ab.ca Yah, you're right. The constants '1024' and '16384' assume a 4K page size. I'll commit a fix. -Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message