i386 memory corrupted by free_initmem()

Andries.Brouwer@cwi.nl
Fri, 16 May 1997 13:52:58 +0200


In recent kernels I noticed some strange memory corruption.
This turns out to be caused by free_initmem() in
arch/i386/mm/init.c. (It frees too much.)
The easiest fix is to comment out this entire routine.
I was too lazy too think about what the proper rounding is
in case the routine is not commented out.

Andries

PS - I do not read the linux-kernel mailing list; if you want me
to see your answer, cc. (On the other hand, linux.dev.kernel is not
so empty these days as it was somewhat earlier.)