Messages in this thread | | | Date | Wed, 4 Apr 2007 16:59:32 -0500 | From | Matt Mackall <> | Subject | Re: [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/
| |