All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mukesh Rathor <mukesh.rathor@oracle.com>
To: xen-devel <xen-devel@lists.xensource.com>
Subject: struct page_info
Date: Thu, 23 Apr 2009 20:15:25 -0700	[thread overview]
Message-ID: <49F12ECD.3040102@oracle.com> (raw)


Hi,
I'm trying to figure out all the incarnations of a page. That led me to
page_info{}. Now, looking at it, the shadow page is confusing.

	/* Page is in use: ((count_info & PGC_count_mask) != 0).  */
	..

         /* Page is in use as a shadow: count_info == 0. */
	..
	/* Page is on a free list: ((count_info & PGC_count_mask) == 0). */
	..

If count_info == 0, and it implies shadow page, how's that different
from an unallocated page which also would've count_info=0 I presume?

Also, if "Page is on a free list:", I assume one of the PGC_ fields would
be set?


thanks,
Mukesh

             reply	other threads:[~2009-04-24  3:15 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-24  3:15 Mukesh Rathor [this message]
2009-04-24  6:50 ` struct page_info Jan Beulich
2009-04-24  7:21   ` Cihula, Joseph
2009-04-24  7:33     ` Keir Fraser
2009-04-25 12:54       ` Attempt to build xen-unstable on Ubuntu 9.04 Server (Ubuntu Desktop installed) Boris Derzhavets
2009-04-25 13:20         ` Thiago Camargo Martins Cordeiro
2009-04-25 16:08           ` Boris Derzhavets
2009-04-26 12:15         ` Boris Derzhavets
2009-04-27  5:56           ` Boris Derzhavets
2009-04-29 15:59             ` Ian Jackson
2009-04-29 16:15               ` Boris Derzhavets
2009-04-29 16:19                 ` Ian Jackson
2009-04-29 16:23                   ` Boris Derzhavets
2009-05-06 16:37                     ` Alex Zeffertt
2009-05-07 11:10                       ` Ian Jackson
2009-05-07 13:15                         ` [PATCH] " Alex Zeffertt
2009-05-07 13:23                           ` Keir Fraser
2009-05-07 14:16                             ` Ian Jackson
2009-05-07 14:37                               ` Keir Fraser
2009-05-07 15:08                                 ` Ian Jackson
2009-05-07 17:11                                   ` [PATCH] Permit user to suppress passing --prefix to setup.py Ian Jackson
2009-05-08 15:45                       ` Attempt to build xen-unstable on Ubuntu 9.04 Server (Ubuntu Desktop installed) Boris Derzhavets
2009-05-08 17:40                         ` Boris Derzhavets
2009-05-09 19:41                           ` 2.6.30-rc3-tip kernel's backend network driver response when loading Xen 3.4 Dom0 " Boris Derzhavets
2009-05-11 22:51                             ` Jeremy Fitzhardinge
2009-05-12  9:07                               ` Boris Derzhavets
2009-04-29 16:21                 ` Attempt to build xen-unstable " Boris Derzhavets
2009-04-24 21:38   ` struct page_info Mukesh Rathor
     [not found] <18946.60770.61629.799986@mariner.uk.xensource.com>

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=49F12ECD.3040102@oracle.com \
    --to=mukesh.rathor@oracle.com \
    --cc=xen-devel@lists.xensource.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.