From: Petko Manolov <petkan@varel.bg>
To: "David Mentr\\'e" <David.Mentre@irisa.fr>
Cc: linux-mm@kvack.org
Subject: Re: 4M kernel pages
Date: Tue, 17 Nov 1998 11:30:25 +0200 [thread overview]
Message-ID: <36514231.714623B6@varel.bg> (raw)
In-Reply-To: wd8u2zzwlgb.fsf@parate.irisa.fr
David Mentr\'e wrote:
>
> To much brute force. :)
Nope, i have already my own 2-3 drivers as modules. So the only thing
i had to do was:
__asm__ __volatile__ (
"movl %%cr3, %0\n\t"
:"=q" (__cr3));
for( i=0; i<1024; i++ )
printk("0x%x, ", (int)*(__cr3+i) );
in the init_module().
> BTW, I think I've found when the PS bit is set. In fact, I you may have
> overlooked arch/i386/mm/init.c. Around line 325, you have :
...
> __pe = _KERNPG_TABLE + _PAGE_4M + __pa(address); <----
...
> Is it right ? Or you where looking at another page directory ? (I'm far
> from an expert in both kernel and i386 asm)
Yes, you catch it. I realy overlooked in my first glance while
i was looking for other thing.
> No. It's interesting to know how things are done. And while trying to
> explain this, I'm learning the Linux kernel. :)
;-) Me too. I'll keep on looking at mm.
As Linus said it can be a bitch ;-))
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
next prev parent reply other threads:[~1998-11-17 9:30 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-11-13 12:04 May be stupid question ;-) Petko Manolov
1998-11-13 14:12 ` Rik van Riel
1998-11-16 7:44 ` Petko Manolov
1998-11-16 8:30 ` 4M kernel pages Petko Manolov
[not found] ` <wd8emr3yfeu.fsf@parate.irisa.fr>
1998-11-16 15:06 ` Petko Manolov
1998-11-16 15:27 ` David Mentr\'e
1998-11-16 16:50 ` Petko Manolov
1998-11-16 18:18 ` David Mentr\'e
1998-11-17 9:30 ` Petko Manolov [this message]
1998-11-16 18:43 ` Rik van Riel
1998-11-17 9:34 ` Petko Manolov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=36514231.714623B6@varel.bg \
--to=petkan@varel.bg \
--cc=David.Mentre@irisa.fr \
--cc=linux-mm@kvack.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.