Re: Ok, making ready for pre-2.4 and code-freeze..

Simon Kirby (sim@stormix.com)
Mon, 20 Dec 1999 10:47:20 -0500


On Sun, Dec 19, 1999 at 08:21:01PM -0800, Linus Torvalds wrote:

> The shift from "long long" to a 32-bit "index" has to be done somewhere
> anyway - the 32-bit index is the internal kernel way of doing things, and
> makes perfect sense. So why not just do it in user space - that way people
> who want to be clever CAN be clever (imagine a compiler that inlined the
> shift and combined it with some other operation done on that argument).

Is it a good idea to expect userspace to assume PAGE_SIZE/PAGE_SHIFT are
constants? Don't some architectures have variable page sizes?

Simon-

[ Stormix Technologies Inc. ][ NetNation Communcations Inc. ]
[ sim@stormix.com ][ sim@netnation.com ]
[ Opinions expressed are not necessarily those of my employers. ]

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