All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Stephen C. Tweedie" <sct@redhat.com>
To: Sanket Rathi <sanket.rathi@cdac.ernet.in>
Cc: linux-mm@kvack.org
Subject: Re: page table entries
Date: Fri, 10 May 2002 10:55:45 +0100	[thread overview]
Message-ID: <20020510105545.A3297@redhat.com> (raw)
In-Reply-To: <Pine.GSO.4.10.10205101049310.14865-100000@mailhub.cdac.ernet.in>; from sanket.rathi@cdac.ernet.in on Fri, May 10, 2002 at 11:00:52AM +0530

Hi,

On Fri, May 10, 2002 at 11:00:52AM +0530, Sanket Rathi wrote:

> The problem is i am not able to understand that why the pgd_val, pmd_val
> and pte_val contain 0x63 in last two positions actually they are page
> address so their last 3 position(in hex) should be zero like in io
> address.

You're actually looking at a pte value, not just an address.  The low
12 bits in a pte's contents are not used for addressing but for pte
metadata.  In this case, those bits correspond to:

#define _KERNPG_TABLE	(_PAGE_PRESENT | _PAGE_RW | _PAGE_ACCESSED |
_PAGE_DIRTY)

from linux/include/asm-i386/pgtable.h.

Cheers,
 Stephen
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/

  reply	other threads:[~2002-05-10  9:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-10  5:30 page table entries Sanket Rathi
2002-05-10  9:55 ` Stephen C. Tweedie [this message]
2002-05-16 11:54   ` Sanket Rathi

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=20020510105545.A3297@redhat.com \
    --to=sct@redhat.com \
    --cc=linux-mm@kvack.org \
    --cc=sanket.rathi@cdac.ernet.in \
    /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.