Re: [RFC][PATCH] make /proc/pid/pagemap work with huge pages and return page size

From: Hans Rosenfeld
Date: Wed Mar 05 2008 - 12:25:10 EST


On Wed, Mar 05, 2008 at 08:32:46AM -0800, Dave Hansen wrote:
> Were you able to find any other instances of these bitfields being used
> for kernel<->user communication?

I did not look at that.

> I thought you were going to check to
> see if we could depend on the layout, or if it changed between
> compilers.

But I looked at the ABI specification for i386, powerpc and sparc, where
the layout is defined for those architectures. Therefore I assume that
we can depend on the bitfield layout, as long as we use compilers that
adhere to the ABI specification of an architecture.


--
%SYSTEM-F-ANARCHISM, The operating system has been overthrown

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