Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Dec 2001 12:17:29 -0800 (PST)
From:      Matthew Dillon <dillon@apollo.backplane.com>
To:        Chad David <davidc@acns.ab.ca>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: kern_vfs_bio_buffer_alloc() question
Message-ID:  <200112082017.fB8KHTs06498@apollo.backplane.com>
References:   <20011208131253.A2592@colnta.acns.ab.ca>

next in thread | previous in thread | raw e-mail | index | archive | help

: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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200112082017.fB8KHTs06498>