lkml.org 
[lkml]   [2007]   [Apr]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 12/13] maps: Add /proc/pid/pagemap interface
On Wed, Apr 04, 2007 at 10:03:04PM +0400, Nikita Danilov wrote:
> Matt Mackall writes:
>
> [...]
>
> >
> > Now I could adjust these to only export u64s in some preferred
> > endianness. But given I already need details like the page size to
> > make any sense of it, it seems unnecessary. Also, the PFNs are fairly
> > opaque unless you're attempting to correlate them with /proc/kpagemap.
>
> Alternatively, you can export some meta-data at the beginning of that
> file like /proc/profile does.

That seems reasonable. We need page size, entry size (4 or 8 bytes), and
an endian marker. I'll see what I can come up with.

--
Mathematics is the supreme nostalgia of our time.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-04-05 00:15    [W:0.115 / U:0.472 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site