lkml.org 
[lkml]   [1999]   [Dec]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Ok, making ready for pre-2.4 and code-freeze..
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/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.242 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site