lkml.org 
[lkml]   [2002]   [Aug]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Bug in kernel code?
Date
Followup to:  <20020827.212649.102436426.davem@redhat.com>
By author: "David S. Miller" <davem@redhat.com>
In newsgroup: linux.dev.kernel
>
> From: "Stephen Biggs" <s.biggs@softier.com>
> Date: Tue, 27 Aug 2002 21:29:06 -0700
>
> You tell me. You're saying a billion pages (((unsigned long)(~0)) >> 2) also crashes) is never
> going to be realistically possible?
>
> On a 32-bit system? No. x86 cpus are architectually limited
> to 64GB of memory, shift that right by PAGE_SIZE (13) and we're
> still within bounds. ^^^^^^^^^^^^^^
>

PAGE_SHIFT, 12.

The maximum possible page count of any known 32-bit system (64 GB @ 4K
for x86) is 2^24 pages.

-hpa
--
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt <amsp@zytor.com>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

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