[lkml]   [2006]   [Jun]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH]: Adding a counter in vma to indicate the number of physical pages backing it
On Fri, 09 Jun 2006 18:33:55 -0700
Rohit Seth <> wrote:

> Below is a patch that adds number of physical pages that each vma is
> using in a process. Exporting this information to user space
> using /proc/<pid>/maps interface.

Ouch, that's an awful lot of open-coded incs and decs. Isn't there some
more centralised place we can do this?

What locking protects vma.nphys (can we call this nr_present or something?)

Will this patch do the right thing with weird vmas such as the gate vma and
mmaps of device memory, etc?

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2006-06-10 04:45    [W:0.084 / U:0.556 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site