Hash not zero-filled in hash_init()?

Takashi Oe toe at unlserve.unl.edu
Mon Jun 26 18:10:40 EST 2000


I have been experiencing random problems with 2.3/2.4 kernels, and, after
weeks of struggle, I found that the main culprit was an uninitialized hash
table.  Specifically, __clear_user(Hash, Hash_size) is commented out in
hash_init() of arch/ppc/mm/init.c.

Does anyone know why it should be commented out?  On NuBus Power Macs, due
to its discontiguous memory nature, the hash table location happens to be
at the same location all the time, and there is a very good chance that
some stale PTE remain from boot to boot.

Takashi Oe

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

More information about the Linuxppc-dev mailing list