[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Memory problems with pre8-cvs-kernel



Hello,

I found a problem in the pre8 kernel found in cvs on netwinder.org.

In arch/arm/setup.c bootmem_init is called which uses free_bootmem_core to
mark the existing memory.
Later, create_memmap_holes calls free_bootmem_core to mark all the holes in
Memory.

So after that, all memory is marked and put on the free-list by
free_all_bootmem. I can only believe this is a bug. For now it works if I
comment out create_memmap_holes from arch/arm/mm/init.c.

Cheers
   Alexander

-- 
       ,,,
      (o o)
+-oOO--(_)--OOo--/""""""""""""""""""""""""""T"""""""""""""""""""""""""""""""T
| schulz@ira.uka.de                         | ... because you are always as |
| Alexander.Schulz@stud.uni-karlsruhe.de    | dead as you think you are!    |
| www.uni-karlsruhe.de/~Alexander.Schulz    | (D. Adams : mostly harmless)  |
+-------------------------------------------+-------------------------------+



Reply to: