test3-pre7 keeps 8-10 Mb FREE all the time?

From: Benjamin Redelings I (bredelin@ucla.edu)
Date: Sun Jul 09 2000 - 17:06:10 EST


Hi - I just tested out test3-pre7. It feels pretty nice, except that
it...

keeps 8Mb free?

I did add a small patch from Manfred Spraul:

--- 2.4/mm/slab.c Sun Jul 9 10:24:24 2000
+++ build-2.4/mm/slab.c Sun Jul 9 16:18:41 2000
@@ -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. */
@@ -412,7 +411,7 @@
        size_t left_over;
 
        init_MUTEX(&cache_chain_sem);
- list_add(&cache_cache.next,&cache_chain);
+ INIT_LIST_HEAD(&cache_chain);
 
        kmem_cache_estimate(0, cache_cache.objsize, 0,
                        &left_over, &cache_cache.num);

But I'm not sure how this would have an effect...
In test3-pre6 I got some OOPSES, from BUG() in dcache.h.
But I don't THINK I had this problem...

-BenRI

-- 
"I want to be in the light, as He is in the Light,
 I want to shine like the stars in the heavens." - DC Talk, "In the
Light"
Benjamin Redelings I      <><     http://www.bol.ucla.edu/~bredelin/

- 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