Re: [PATCH] mm: fix lazy vmap purging (use-after-free error)

From: Vegard Nossum
Date: Mon Feb 23 2009 - 03:25:00 EST


2009/2/23 Paul E. McKenney <paulmck@xxxxxxxxxxxxxxxxxx>:
> Hello, Vegard,
>
> Could you please try out the following patch? I am not 100% confident
> of it on non-x86 architectures, nor during the time that non-boot CPUs
> start up (though this patch should not break non-boot CPUs any more than
> they might already be broken).

Hi!

This patch fixes it for me. Now I see the huge stream of call_rcu()s,
followed by a huge stream of kfrees() (after the list traversal has
completed).


Vegard

--
"The animistic metaphor of the bug that maliciously sneaked in while
the programmer was not looking is intellectually dishonest as it
disguises that the error is the programmer's own creation."
-- E. W. Dijkstra, EWD1036
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/