linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Phillip Susi <psusi@ubuntu.com>
To: Konstantin Khlebnikov <koct9i@gmail.com>
Cc: linux-mm <linux-mm@kvack.org>
Subject: Re: Dump struct page array?
Date: Thu, 05 Jun 2014 15:33:48 -0400	[thread overview]
Message-ID: <5390C61C.1020500@ubuntu.com> (raw)
In-Reply-To: <CALYGNiNupJLmMV4ehMb9r9hxefBmbLoW2aZ2E0eZ=C=Y1rDXZQ@mail.gmail.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 6/5/2014 11:56 AM, Konstantin Khlebnikov wrote:
| On Thu, Jun 5, 2014 at 7:30 PM, Phillip Susi <psusi@ubuntu.com> wrote:
| Is there a way to dump the struct page array or perhaps even a tool to
| analyze it?  I would like to get a map of what pages are in use, or in
| particular, where all of the unmovable pages are.
|
|> Have you seen "page-types"? tools/vm/page-types.c in the kernel source tree.

Thanks, that is very interesting... I noticed that there are no reserved pages.  There *must* be some pages marked as reserved for the bios somewhere right?  Also how do you tell what pages are free or allocated to the kernel?  It seems that free pages sometimes have the buddy bit set and sometimes not, and pages used by the slab cache sometimes have the slab bit set, and sometimes not.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJTkMYcAAoJEI5FoCIzSKrwq28H/18Y/O+u/ZTT7ICVvUUjM5YP
LNb43Nf/7uvaE/ElMiemGdzqSzUcf4wb93HtVeV3OmuV/ALk1H/eaYFLpxxq1sGI
hXojGoqaHUwHTie//3Xq3C4Dfi0jDqC7tTX6uywSDRdCzbq2TOGuruc+0n0k3r7b
MCQC+Vqr+mzW0d8U8EVE6ux8noA9FlUMFdNDTJAMEbZiyfKdjFXCua4lnVPope/h
yB3M4Th+eYY6YGvPoEPfJeYSdeqNGwW2JH6zRGokVk7i21D1G8vudMmwMYziso5D
YmTeLvrLhQw3tnX1O0Y7MKepRabx9vqhbruK+5RzTQYl1UZYZEnZ3NO6ithC+UU=
=bkUL
-----END PGP SIGNATURE-----

--
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/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

      reply	other threads:[~2014-06-05 19:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-05 15:30 Phillip Susi
2014-06-05 15:56 ` Konstantin Khlebnikov
2014-06-05 19:33   ` Phillip Susi [this message]

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=5390C61C.1020500@ubuntu.com \
    --to=psusi@ubuntu.com \
    --cc=koct9i@gmail.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox