Re: [PATCH] ftrace: safe traversal of ftrace_hash hlist

From: Thomas Gleixner
Date: Tue May 27 2008 - 11:42:17 EST


On Sat, 24 May 2008, Abhishek Sagar wrote:
> Hi Steven,

> I noticed that concurrent instances of ftrace_record_ip() have a
> race between ftrace_hash list traversal during ftrace_ip_in_hash()
> (before acquiring ftrace_shutdown_lock) and ftrace_add_hash().If
> it's so then this should fix it.

Applied. Thanks,

tglx
--
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/