The one-liner which was added to slab.c in test3-pre7 has triggered a
gcc-2.7.2.3 bug and I'm getting uptimes of 0.1 seconds :(
Could we please back it out?
Index: mm/slab.c
===================================================================
RCS file: /opt/cvs/lk/mm/slab.c,v
retrieving revision 1.6.2.6
diff -u -r1.6.2.6 slab.c
--- mm/slab.c 2000/07/09 11:43:20 1.6.2.6
+++ mm/slab.c 2000/07/09 13:12:52
@@ -355,7 +355,6 @@
spinlock: SPIN_LOCK_UNLOCKED,
colour_off: L1_CACHE_BYTES,
name: "kmem_cache",
- next: LIST_HEAD_INIT(cache_cache.next)
};
/* Guard access to the cache-chain. */
This initialisation is already done in kmem_cache_init(), so it's not
needed.
What's happening is that gcc is emitting the following initialiser:
cache_cache:
.long cache_cache
.long cache_cache
.long cache_cache
.long 100
.long 4096
.zero 72 <<<<<<< Bogus!!!
.zero 4
.long 0
.zero 12
.long 32
.zero 28
.string "kmem_cache"
.zero 9
.long cache_cache+92
.long cache_cache+92
And I get a divide by zero at the end of kmem_cache_init(), dividing by
cache_cache.colour_off.
-
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/
This archive was generated by hypermail 2b29 : Sat Jul 15 2000 - 21:00:10 EST