Messages in this thread Patch in this message | | | From | "Wichert, Gerhard" <> | Subject | [patch] bug in init.c | Date | Tue, 14 Sep 1999 17:00:58 +0200 |
| |
There is a bug in init.c which causes memory below 1MB remain PG_reserved. So, there won't be memory of type PG_DMA available if you have more than about 820 MB system memory (memory up to the 16MB limit will be used by kernel structures, i.e. mem_map_t).
--- 2.3.18/arch/i386/mm/init.c Tue Sep 7 19:38:21 1999 +++ 2.3.18-fix/arch/i386/mm/init.c Tue Sep 14 16:46:44 1999 @@ -450,7 +450,7 @@ continue; if ( addr > end_mem ) continue; - if ( addr >= HIGH_MEMORY && addr <= start_mem ) + if ( addr >= (HIGH_MEMORY + PAGE_OFFSET) && addr <= start_mem ) continue; avail++; Gerhard
- 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/
| |