Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Feb 2005 17:22:01 +0200
From:      Petri Helenius <pete@he.iki.fi>
To:        Scott <scottl@samsco.org>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: 4M page size
Message-ID:  <4219FC99.3090002@he.iki.fi>
In-Reply-To: <4219F349.8010106@samsco.org>
References:  <4219EC1D.7020401@he.iki.fi> <4219F349.8010106@samsco.org>

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

> Petri Helenius wrote:
>
> FreeBSD/i386 uses 4MB pages to hold the kernel text and data, but there
> is no way (to my knowledge) to ask the pmap layer for a 4MB page after
> that either from the kernel or from userland.  However, it's also my
> understanding that most non-Xeon CPUs only have a 4kb TLB, and 4MB pages
> are just broken down into 4kb chunks for it.

Does this hold true for amd64 too?
And what does happen to the page size if the memory is mapped to 
userland? (probably 4k?)
(I assume mmap does 4k, not 4M pages?)

Pete



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