lkml.org 
[lkml]   [1999]   [Jan]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Big Fix for 2.2.1
Alan Cox wrote:
>
> > Alas, yes. If there is a power of two rule, it should surely be documented in
> > the code. The existing code in page.h encourages people to make improper
> > changes. The only other value I know of that works correctly is 0x80000000.
>
> Yep - and that documentation is indeed a real bug.

Using 0x80000000 is probably better anyway, no? Just how many megs less
than 2GB does that give us - something like (2048-30) total? Possibly
better than using 0x70000000, since the way I figure it, that robs us of
256 megs of process address space. If you want a single process to use
as much RAM as possible (like nearly 2GB, and this isn't a silly case in
numerical codes) then it seems like you're actually better off
sacrificing the 30megs (or 50 or whatever) and using 0x8...

Neil
ps: who volunteers to remove the man-trap in page.h?

-
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:50    [W:0.083 / U:0.816 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site