Re: [patch] slob: fix memory corruption

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Ingo Molnar <mingo@...>
Cc: David Miller <davem@...>, <mpm@...>, <rjw@...>, <linux-kernel@...>, <akpm@...>, <torvalds@...>, Thomas Gleixner <tglx@...>
Date: Thursday, November 15, 2007 - 4:25 pm

On Thursday 15 November 2007 23:48, Ingo Molnar wrote:

Yes. It was very useful in developing the improvements to the freelist
handling. The only reason why I don't release/run the code more often
is that my test harness work is pretty ugly (ie. it isn't just a simple
cp mm/slob.c ../blah/).

After that, just a loop of N iterations, within each iteration, there is
a chance of a single allocation of a random size, a single free of a
random outstanding allocation, a run of allocating MAX allocations, or
a run of freeing all previously allocated memory. It's a bit crude, but
it showed up your list head corruption in a second or two.
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
2.6.24-rc2: Reported regressions from 2.6.23 (updated), Rafael J. Wysocki, (Sun Nov 11, 3:58 pm)
[bug] SLOB crash, 2.6.24-rc2, Ingo Molnar, (Wed Nov 14, 7:20 am)
Re: [bug] SLOB crash, 2.6.24-rc2, Matt Mackall, (Wed Nov 14, 1:36 pm)
Re: [bug] SLOB crash, 2.6.24-rc2, Matt Mackall, (Wed Nov 14, 2:39 pm)
Re: [bug] SLOB crash, 2.6.24-rc2, Ingo Molnar, (Wed Nov 14, 3:05 pm)
Re: [bug] SLOB crash, 2.6.24-rc2, David Miller, (Wed Nov 14, 6:39 pm)
Re: [bug] SLOB crash, 2.6.24-rc2, Matt Mackall, (Wed Nov 14, 6:53 pm)
Re: [bug] SLOB crash, 2.6.24-rc2, David Miller, (Wed Nov 14, 7:10 pm)
Re: [bug] SLOB crash, 2.6.24-rc2, Matt Mackall, (Wed Nov 14, 7:37 pm)
Re: [bug] SLOB crash, 2.6.24-rc2, David Miller, (Wed Nov 14, 7:41 pm)
Re: [bug] SLOB crash, 2.6.24-rc2, Ingo Molnar, (Thu Nov 15, 6:43 am)
Re: [bug] SLOB crash, 2.6.24-rc2, Nick Piggin, (Thu Nov 15, 6:57 am)
Re: [bug] SLOB crash, 2.6.24-rc2, Ingo Molnar, (Thu Nov 15, 7:28 am)
Re: [bug] SLOB crash, 2.6.24-rc2, Dave Haywood, (Thu Nov 15, 8:18 am)
Re: [bug] SLOB crash, 2.6.24-rc2, Nick Piggin, (Thu Nov 15, 7:39 am)
[patch] slob: fix memory corruption, Ingo Molnar, (Thu Nov 15, 7:32 am)
Re: [patch] slob: fix memory corruption, Matt Mackall, (Thu Nov 15, 12:00 pm)
Re: [patch] slob: fix memory corruption, Ingo Molnar, (Thu Nov 15, 8:48 am)
Re: [patch] slob: fix memory corruption, Nick Piggin, (Thu Nov 15, 4:25 pm)
Re: [bug] SLOB crash, 2.6.24-rc2, David Miller, (Thu Nov 15, 6:51 am)
Re: [bug] SLOB crash, 2.6.24-rc2, Ingo Molnar, (Thu Nov 15, 7:03 am)
Re: [bug] SLOB crash, 2.6.24-rc2, David Miller, (Thu Nov 15, 7:05 am)
Re: [bug] SLOB crash, 2.6.24-rc2, Matt Mackall, (Wed Nov 14, 8:09 pm)
Re: [bug] SLOB crash, 2.6.24-rc2, Matt Mackall, (Wed Nov 14, 3:42 pm)
Re: 2.6.24-rc2: Reported regressions from 2.6.23 (updated), Francois Romieu, (Sun Nov 11, 4:33 pm)
Re: 2.6.24-rc2: Reported regressions from 2.6.23 (updated), Bartlomiej Zolnierkiewicz..., (Sun Nov 11, 6:22 pm)
Re: 2.6.24-rc2: Reported regressions from 2.6.23 (updated), Thomas Lindroth, (Tue Nov 13, 10:09 am)
Re: 2.6.24-rc2: Reported regressions from 2.6.23 (updated), Rafael J. Wysocki, (Sun Nov 11, 4:34 pm)