Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 May 1995 20:09:10 -0700
From:      David Greenman <davidg@Root.COM>
To:        "Rodney W. Grimes" <rgrimes@gndrsh.aac.dev.com>
Cc:        bde@zeta.org.au, current@FreeBSD.org
Subject:   Re: newfs weirdness... 
Message-ID:  <199505260309.UAA00152@corbin.Root.COM>
In-Reply-To: Your message of "Thu, 25 May 95 20:03:47 PDT." <199505260303.UAA01726@gndrsh.aac.dev.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
>You are starting to ``think'' Intel x86 archicture, page sizes will vary
>from arch to arch, be very carefull when doing this or you will end up
>doing it again for any platfrom that does not use a 4K page size.  And
>even if you do make it work right, the limit will vary with machine page
>size, which IMHO, is not a very good solution :-(.

   Yes, it will vary depending on machine page size, and I disagree that this
isn't a very good solution. All modern architectures have 4K or larger page
sizes. The only alternative is to do 64 bit math all over the place, and this
will slow things down by more than just a little.

-DG



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