* Dump struct page array?
@ 2014-06-05 15:30 Phillip Susi
2014-06-05 15:56 ` Konstantin Khlebnikov
0 siblings, 1 reply; 3+ messages in thread
From: Phillip Susi @ 2014-06-05 15:30 UTC (permalink / raw)
To: linux-mm
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQEcBAEBAgAGBQJTkI0QAAoJEI5FoCIzSKrwcrcH/AiOUvh5osAFezgR2pGlp3Iy
G+rvqzHdgFFef2RX057ehK+lj2nW8fNFyCy/zKR0aaueyH88yj4nFgoZw060cklo
0P5Fcvim1BKhPMUpD+0J8XaFEP9WD95/Q5XPqmfSUf64VrwPQSLcppwUJPO+ec7D
PBEctU9EvnXKPtrQRui44t6U0VRRvsN2OaRI8tZR7ou7V0FrOe86GdyXFRu8dsTN
22hy9A0JqTldjM9ebbr8xCu5cRRQFkUZSFqBv2lnnox+V8/1M8N8ZwCbkayQiyMQ
pW7DMTottjGsXrq/+l96UF2aWQv5PIof9NR4FJ3YSFdo1YvTfUozSLbX24KCQFI=
=t4Q0
-----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>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Dump struct page array?
2014-06-05 15:30 Dump struct page array? Phillip Susi
@ 2014-06-05 15:56 ` Konstantin Khlebnikov
2014-06-05 19:33 ` Phillip Susi
0 siblings, 1 reply; 3+ messages in thread
From: Konstantin Khlebnikov @ 2014-06-05 15:56 UTC (permalink / raw)
To: Phillip Susi; +Cc: linux-mm
On Thu, Jun 5, 2014 at 7:30 PM, Phillip Susi <psusi@ubuntu.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> 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.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.17 (MingW32)
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iQEcBAEBAgAGBQJTkI0QAAoJEI5FoCIzSKrwcrcH/AiOUvh5osAFezgR2pGlp3Iy
> G+rvqzHdgFFef2RX057ehK+lj2nW8fNFyCy/zKR0aaueyH88yj4nFgoZw060cklo
> 0P5Fcvim1BKhPMUpD+0J8XaFEP9WD95/Q5XPqmfSUf64VrwPQSLcppwUJPO+ec7D
> PBEctU9EvnXKPtrQRui44t6U0VRRvsN2OaRI8tZR7ou7V0FrOe86GdyXFRu8dsTN
> 22hy9A0JqTldjM9ebbr8xCu5cRRQFkUZSFqBv2lnnox+V8/1M8N8ZwCbkayQiyMQ
> pW7DMTottjGsXrq/+l96UF2aWQv5PIof9NR4FJ3YSFdo1YvTfUozSLbX24KCQFI=
> =t4Q0
> -----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>
--
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>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Dump struct page array?
2014-06-05 15:56 ` Konstantin Khlebnikov
@ 2014-06-05 19:33 ` Phillip Susi
0 siblings, 0 replies; 3+ messages in thread
From: Phillip Susi @ 2014-06-05 19:33 UTC (permalink / raw)
To: Konstantin Khlebnikov; +Cc: linux-mm
-----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>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-06-05 19:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-05 15:30 Dump struct page array? Phillip Susi
2014-06-05 15:56 ` Konstantin Khlebnikov
2014-06-05 19:33 ` Phillip Susi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox