[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 4M kernel pages



David Mentr\'e wrote:
> 
> Not exactly. 4MB pages for kernel are setted up _before_ the kernel is
> started.
> Look at arch/i386/kernel/head.S:

This is only for SMP machines.

> To be honest, I'm not sure that this is done here, but I'm *sure* that
> kernel uses 4Mb pages.

;-) I got sure by other way. In kernel mode i red the whole page
directory. All kernel page dir entries ended with LSB == 0xe3.
7th bit on means 4M pages. 1 and 0 bits means respectively r/w and
present.
The point is that 6th bit is also 1 when it supposed to be 0
acording to Intel docs.


Excuse me all for this boring mails!


regards
-- 
Petko Manolov - petkan@varel.bg
http://www.varel.bg/~petkan
--
This is a majordomo managed list.  To unsubscribe, send a message with
the body 'unsubscribe linux-mm me@address' to: majordomo@kvack.org