linux-mips
[Top] [All Lists]

Re: crash in __alloc_bootmem_core on SGI current cvs

To: Florian Lohoff <flo@rfc822.org>
Subject: Re: crash in __alloc_bootmem_core on SGI current cvs
From: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
Date: Tue, 16 Jan 2001 17:39:40 +0100 (MET)
Cc: Ralf Baechle <ralf@oss.sgi.com>, linux-mips@oss.sgi.com
In-reply-to: <20010116172812.B7327@paradigm.rfc822.org>
Organization: Technical University of Gdansk
Sender: owner-linux-mips@oss.sgi.com
On Tue, 16 Jan 2001, Florian Lohoff wrote:

> Wouldnt be this correct ? Realsize is size - holes.
> 
> Index: mm/page_alloc.c
> ===================================================================
> RCS file: /cvs/linux/mm/page_alloc.c,v
> retrieving revision 1.49
> diff -u -r1.49 page_alloc.c
> --- mm/page_alloc.c   2001/01/11 04:02:45     1.49
> +++ mm/page_alloc.c   2001/01/16 16:26:55
> @@ -824,7 +824,7 @@
>               if (zholes_size)
>                       realsize -= zholes_size[j];
>  
> -             printk("zone(%lu): %lu pages.\n", j, size);
> +             printk("zone(%lu): %lu pages.\n", j, realsize);
>               zone->size = size;
>               zone->name = zone_names[j];
>               zone->lock = SPIN_LOCK_UNLOCKED;

 It look reasonable but is it what was really intended?  You should ask
the author or linux-kernel, I suppose. 

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +


<Prev in Thread] Current Thread [Next in Thread>