WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: Yogi Huang <chi7396@xxxxxxxxxxx>
Subject: Re: [Xen-devel] Re: The linux-headers-2.6.26-2-xen-686 can not compile successful
From: Ian Campbell <Ian.Campbell@xxxxxxxxxx>
Date: Tue, 21 Jun 2011 15:29:44 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 21 Jun 2011 07:30:34 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1308658768236-4510379.post@xxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: Citrix Systems, Inc.
References: <SNT114-W617476C7FFAB3ED88D5D62A66A0@xxxxxxx> <1308656302.6920.21.camel@xxxxxxxxxxxxxxxxxxxxxx> <1308658768236-4510379.post@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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
userspace?

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.

Ian.

> 
> 
> 
> 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
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>