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 [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to