Re: repeatable slab corruption with LTP msgctl08

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Andi Kleen <andi@...>
Cc: Nadia Derbey <Nadia.Derbey@...>, Manfred Spraul <manfred@...>, <linux-kernel@...>, <linux-mm@...>, Pekka Enberg <penberg@...>
Date: Thursday, June 12, 2008 - 6:24 am

On Thu, 12 Jun 2008 10:35:55 +0200 Andi Kleen <andi@firstfloor.org> wrote:


Well I tried that.  It didn't actually seem to do much (no CPU time
consumed) so I revved it up a bit: 

--- a/drivers/char/crasher.c~crasher-26-speedup
+++ a/drivers/char/crasher.c
@@ -59,7 +59,7 @@ struct mem_buf {
 static unsigned long crasher_random(void)
 {
         rand_seed = rand_seed*69069L+1;
-        return rand_seed^jiffies;
+        return (rand_seed^jiffies) & 3;
 }
 
 void crasher_srandom(unsigned long entropy)
_


But it hasn't crashed after 57 minutes.

I don't think that is how we should fix this bug ;)

I'm pretty much out of time on this one.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
repeatable slab corruption with LTP msgctl08, Andrew Morton, (Thu Jun 12, 1:13 am)
Re: repeatable slab corruption with LTP msgctl08, Nadia Derbey, (Fri Jun 13, 3:03 am)
Re: repeatable slab corruption with LTP msgctl08, Nadia Derbey, (Fri Jun 13, 4:33 am)
Re: repeatable slab corruption with LTP msgctl08, Andrew Morton, (Fri Jun 13, 4:42 am)
Re: repeatable slab corruption with LTP msgctl08, Pekka J Enberg, (Thu Jun 12, 6:35 am)
Re: repeatable slab corruption with LTP msgctl08, Manfred Spraul, (Thu Jun 12, 2:33 pm)
Re: repeatable slab corruption with LTP msgctl08, Pekka Enberg, (Thu Jun 12, 3:27 pm)
Re: repeatable slab corruption with LTP msgctl08, Andrew Morton, (Thu Jun 12, 2:41 pm)
Re: repeatable slab corruption with LTP msgctl08, Manfred Spraul, (Thu Jun 12, 3:09 pm)
Re: repeatable slab corruption with LTP msgctl08, Andrew Morton, (Thu Jun 12, 3:20 pm)
Re: repeatable slab corruption with LTP msgctl08, Christoph Lameter, (Thu Jun 12, 1:13 pm)
Re: repeatable slab corruption with LTP msgctl08, Andrew Morton, (Thu Jun 12, 2:34 am)
Re: repeatable slab corruption with LTP msgctl08, Andrew Morton, (Thu Jun 12, 4:02 am)
Re: repeatable slab corruption with LTP msgctl08, Andrew Morton, (Thu Jun 12, 4:15 am)
Re: repeatable slab corruption with LTP msgctl08, Andi Kleen, (Thu Jun 12, 4:35 am)
Re: repeatable slab corruption with LTP msgctl08, Andrew Morton, (Thu Jun 12, 6:24 am)
Re: repeatable slab corruption with LTP msgctl08, Andi Kleen, (Thu Jun 12, 6:41 am)
Re: repeatable slab corruption with LTP msgctl08, Andrew Morton, (Thu Jun 12, 5:08 am)
Re: repeatable slab corruption with LTP msgctl08, Andrew Morton, (Thu Jun 12, 4:16 am)