Hi ... On Tue, Apr 7, 2009 at 7:47 PM, Sudharsan Vijayaraghavan (vijayas) <vijayas@xxxxxxxxx> wrote: > Hi All > > > > We work in 2.6.24. We are planning to add instrumentation by virtue of which > one can get the physical memory consumed individually per kernel thread. > > Is there a mechanism/patch already in place which gives us such a metric? We > do know that smaps does it per user process. Interesting plan you have. Since kernel threads don't own VMA, perhaps what you need is to declare linked list or tree that contain the page frame numbers. Other than that, I don't know whether such patch/mechanism exist. regards, Mulyadi. -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ