Re: [tip:tracing/ftrace] tracing: fix oops intracepoint_update_probe_range()

From: Jaswinder Singh Rajput
Date: Wed Mar 18 2009 - 15:05:53 EST


On Wed, 2009-03-18 at 19:58 +0100, Ingo Molnar wrote:
> It might have worked but it was rather ugly: it took the
> tracepoints_mutex for no reason.
>
> The clean fix to skip zero-sized sections early in the function,
> without taking any lock, and without emitting a warning.
>

Yes, now it looks better, thanks :-)

--
JSR

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