From owner-freebsd-hackers Sat Dec 8 12:12:56 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.acns.ab.ca (h24-64-56-135.cg.shawcable.net [24.64.56.135]) by hub.freebsd.org (Postfix) with ESMTP id 86FDA37B416 for ; Sat, 8 Dec 2001 12:12:54 -0800 (PST) Received: from colnta.acns.ab.ca (colnta.acns.ab.ca [192.168.1.2]) by mail.acns.ab.ca (8.11.6/8.11.3) with ESMTP id fB8KCrX19436 for ; Sat, 8 Dec 2001 13:12:53 -0700 (MST) (envelope-from davidc@colnta.acns.ab.ca) Received: (from davidc@localhost) by colnta.acns.ab.ca (8.11.6/8.11.3) id fB8KCrv02937 for hackers@freebsd.org; Sat, 8 Dec 2001 13:12:53 -0700 (MST) (envelope-from davidc) Date: Sat, 8 Dec 2001 13:12:53 -0700 From: Chad David To: hackers@freebsd.org Subject: kern_vfs_bio_buffer_alloc() question Message-ID: <20011208131253.A2592@colnta.acns.ab.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i 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 ACNS Inc. Calgary, Alberta Canada To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message