RE: 2.3.25-pre1 memory size is wrong.

Tigran Aivazian (tigran@sco.COM)
Mon, 1 Nov 1999 16:58:49 +0000 (GMT)


what report are we talking about? The mem_init() of arch/i386/mm/init.c is
set like this:

high_memory = (void *) __va(max_low_pfn * PAGE_SIZE);

is this incorrect? It is incorrect on this specific system (Compaq 1600
dual PII 400) but is correct on some other specific system (IBM Netfinity
dual Xeon 450)

(I don't read/care about human-readable reports - I look at the value of
high_memory and it *is* incorrect (on some hardware)).

Regards,
------
Tigran A. Aivazian | http://www.sco.com
Escalations Research Group | tel: +44-(0)1923-813796
Santa Cruz Operation Ltd | http://www.ocston.org/~tigran

On Mon, 1 Nov 1999 nathan.zook@amd.com wrote:

> This report comes from arch/i386/mm/init.c, where it is generated
> incorrectly.
>
> Nathan
>
>
> -----Original Message-----
> From: Tigran Aivazian [mailto:tigran@sco.COM]
> Sent: Monday, November 01, 1999 4:44 AM
> To: Zook, Nathan
> Cc: linux-kernel@vger.rutgers.edu
> Subject: RE: 2.3.25-pre1 memory size is wrong.
>
>
> the file /proc/kcore sets it size like this:
>
> (MAP_NR(high_memory) << PAGE_SHIFT) + PAGE_SIZE
>
> are you saying that high_memory is set incorrectly?
>
> On Fri, 29 Oct 1999 nathan.zook@amd.com wrote:
>
> > There is an error in the routine which gathers the data to print out the
> > available memory. This appears to be a problem relating only to the
> > reporting of memory. Actual memory available should be fine. I am
> working
> > on a patch which will also take care of this error.
> >
> > Nathan
> >
> >
> > -----Original Message-----
> > From: Tigran Aivazian [mailto:tigran@sco.COM]
> > Sent: Friday, October 29, 1999 10:07 AM
> > To: linux-kernel@vger.rutgers.edu
> > Subject: 2.3.25-pre1 memory size is wrong.
> >
> >
> > Hi,
> >
> > 2.3.18 says:
> >
> > Memory: 62128k/65536k available (936k kernel code, 1052k reserved, 1336k
> > data, 84k init, 0k bigmem)
> >
> > 2.3.25-pre1 says:
> >
> > e820: 0009f800 @ 00000000 (usable)
> > e820: 00000800 @ 0009f800 (reserved)
> > e820: 00010000 @ 000f0000 (reserved)
> > e820: 03f00000 @ 00100000 (usable)
> > e820: 00010000 @ fec00000 (reserved)
> > e820: 00010000 @ fee00000 (reserved)
> > e820: 00080000 @ fff80000 (reserved)
> > e820: 00000000 @ 00000000 (usable)
> >
> > Memory: 49088k/917504k available (0k kernel code, 0k reserved, 0k data, 0k
> > init, 0k highmem)
> >
> > The machine is a Compaq Proliant 1600 dual PII/400 with 64M RAM.
> >
> > Regards,
> > Tigran.
> >
> >
> > -
> > 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/
> >
>

-
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/