Re: kmemcheck caught read from freed memory (cfq_free_io_context)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Pekka J Enberg
Date: Wednesday, April 2, 2008 - 9:32 am

Hi Vegard,

On Wed, Apr 2, 2008 at 6:08 PM, Paul E. McKenney <paulmck@linux.vnet.ibm.com> wrote:
 
On Wed, 2 Apr 2008, Vegard Nossum wrote:

Yes, but we might as well put Paul's patch in now and remove that later 
when we have a proper fix, no?

On Wed, 2 Apr 2008, Vegard Nossum wrote:

Well, maybe we can add two new states: RCU_FREED and RCU_VALIDATED? The 
object is flagged with the first one as soon as an object is handed over 
to kmem_cache_free() and the latter needs to hook to the validation phase 
of RCU (how is that done btw?). Then kmemcheck could even give a better 
error message: "RCU-freed object used without validation."

And with delayed free for kmemcheck we discussed before, we'd hold on to 
the objects long enough to actually see these error conditions.

			Pekka
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: kmemcheck caught read from freed memory (cfq_free_io_c ..., Pekka J Enberg, (Wed Apr 2, 9:32 am)
Re: kmemcheck caught read from freed memory (cfq_free_io_c ..., Christoph Lameter, (Wed Apr 2, 10:35 am)
Re: kmemcheck caught read from freed memory (cfq_free_io_c ..., Christoph Lameter, (Wed Apr 2, 10:36 am)