public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Allison <fireflyblue@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: Kernel page table and module text
Date: Mon, 18 Apr 2005 02:20:51 -0400	[thread overview]
Message-ID: <17d798805041723205bd480ca@mail.gmail.com> (raw)

Hi,

Since module is loaded in non-contiguous memory, there has to be an
entry in the kernel page table for all modules that are loaded on the
system. I am trying to find entries corresponding to my module text in
the page tables.

I am not clear about how the kernel page table is organized after the
system switches to protected mode.

I printed out the page starting with swapper_pg_dir . But I do not
find the addresses for all the modules loaded in the system.

Do I still need to read the pg0 and pg1 pages ?

If somebody can explain how to traverse the kernel page tables, that
would be very helpful.

thanks,
Allison

             reply	other threads:[~2005-04-18  6:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-18  6:20 Allison [this message]
2005-04-18  6:31 ` Kernel page table and module text Chris Wedgwood
  -- strict thread matches above, loose matches on Subject: below --
2005-04-18 16:17 Aleksey Gorelov
2005-04-19 19:09 Allison
2005-04-20  0:16 ` Dave Airlie
     [not found] <3V6qt-2ve-9@gated-at.bofh.it>
2005-04-20 17:37 ` Bodo Eggert <harvested.in.lkml@posting.7eggert.dyndns.org>
2005-04-21  0:54   ` Dave Airlie

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=17d798805041723205bd480ca@mail.gmail.com \
    --to=fireflyblue@gmail.com \
    --cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox