From: Tim Deegan <Tim.Deegan@citrix.com>
To: weiming <zephyr.zhao@gmail.com>
Cc: xen-devel <xen-devel@lists.xensource.com>
Subject: Re: where is writable page table implemented?
Date: Tue, 1 Apr 2008 16:17:53 +0000 [thread overview]
Message-ID: <20080401161753.GD4628@york.uk.xensource.com> (raw)
In-Reply-To: <add59a3f0804010837p66627938ucba0837d0442b35c@mail.gmail.com>
At 11:37 -0400 on 01 Apr (1207049874), weiming wrote:
> Do you know under which situation we use writable page table instead of
> calling update_va_mapping?
Not in any detail.
> And do you know the purpose of the counter defined in
> page_info.u.in_use.type_info?
> I understand that xen needs to keep track of the type of each page
> (L1_page_table_page, L2_page_table_page, pinned, unpinned, validated, etc),
> but why do we need to use the lower 26 bits of "type_info" as a counter? (in
> "get_page_type()", the counter is increased. ) Similarly, get_page() /
> put_page() also increases/decreases the page.count_info. Could you please
> give me some hint about the usage of such counters?
You should read the comments at the top of xen/arch/x86/mm.c.
Tim.
--
Tim Deegan <Tim.Deegan@citrix.com>
Principal Software Engineer, Citrix Systems (R&D) Ltd.
[Company #02300071, SL9 0DZ, UK.]
next prev parent reply other threads:[~2008-04-01 16:17 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-24 16:18 where is writable page table implemented? weiming
2008-03-24 16:25 ` Tim Deegan
2008-03-24 18:26 ` weiming
2008-03-25 10:43 ` Tim Deegan
2008-03-30 23:43 ` weiming
2008-04-01 8:38 ` Tim Deegan
2008-04-01 15:37 ` weiming
2008-04-01 16:17 ` Tim Deegan [this message]
2008-03-25 16:30 ` Mark Williamson
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=20080401161753.GD4628@york.uk.xensource.com \
--to=tim.deegan@citrix.com \
--cc=xen-devel@lists.xensource.com \
--cc=zephyr.zhao@gmail.com \
/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.