Re: del_timer_sync needed for UP RT systems.

From: Daniel Walker
Date: Tue Apr 26 2005 - 19:31:59 EST

On Tue, 2005-04-26 at 17:24, Daniel Walker wrote:
> On Tue, 2005-04-26 at 17:14, George Anzinger wrote:
> > The problem here is that the reference is to timr, a pointer to something which
> > has been deleted. The memory may well be used elsewhere by this time which will
> > make the test of it_process wrong. It also means we could mess with someone
> > elses memory in the memset above.
> Bottom line, you can use sys_timer_delete() on a timer, and trigger the
> same timer your deleting .. Those operations should be serialized, which
> they currently aren't ..

Um, sorry typo, you _can't_ delete a timer, and trigger it at the same
time. That's bad.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at