Messages in this thread | | | Date | Wed, 3 Jul 2013 19:54:20 +0200 | From | Oleg Nesterov <> | Subject | Re: PATCH? trace_remove_event_call() should fail if call is active |
| |
On 07/03, Oleg Nesterov wrote: > > IOW. So far _I think_ we just need the additional changes in > trace_remove_event_call() if it succeeds (with the patch I sent) > to prevent the races like above, but I didn't even try to think > about this problem.
And I guess greatly underestimated the problem(s). When I look at this code now, it seems that, say, event_enable_write() will use the already freed ftrace_event_file in this case.
Still I think this is another (although closely related) problem.
> Or I missed your point completely?
Yes?
Oleg.
| |