[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Re: The linux-headers-2.6.26-2-xen-686 can not compile successful

On Tue, 2011-06-21 at 13:19 +0100, Yogi Huang wrote:
> I am trying to access the value of "dirty page" of "each process" (cause the
> "/proc/vmstat" doesn't provide the dirty page of per process), and want to
> use another way to dump out the page table entry (pte_t) form the
> "task_struck -> mm_struck... ", so that I could get the "pte_dirty()" of
> each page, and it's necessary to include the source code (such as
> <pgtable.h>,...). 

You are writing a kernel patch or are you doing this somehow from

If you are doing this in the kernel (presumably therefore as a module)
then you should read the stuff under Documentation/kbuild/ to learn how
to correct write a kernel compatible Makefile.

If you are doing it from userspace then I'm afraid you probably need to
simply write your own datastructures/macros/etc, since pgtable.h won't
be usable to you.


> Thank you,
> Yogi.
> chi7396@xxxxxxxxxxx
> --
> View this message in context: 
> http://xen.1045712.n5.nabble.com/The-linux-headers-2-6-26-2-xen-686-can-not-compile-successful-tp4494865p4510379.html
> Sent from the Xen - Dev mailing list archive at Nabble.com.
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.