From: Daniel Walker <dwalker@mvista.com>
To: george@mvista.com
Cc: ganzinger@mvista.com, Ingo Molnar <mingo@elte.hu>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: del_timer_sync needed for UP RT systems.
Date: 26 Apr 2005 17:30:42 -0700 [thread overview]
Message-ID: <1114561842.12777.73.camel@dhcp153.mvista.com> (raw)
In-Reply-To: <1114561446.12772.71.camel@dhcp153.mvista.com>
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.
Daniel
next prev parent reply other threads:[~2005-04-27 0:30 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-26 23:42 George Anzinger
2005-04-26 23:55 ` Daniel Walker
2005-04-27 0:14 ` George Anzinger
2005-04-27 0:24 ` Daniel Walker
2005-04-27 0:30 ` Daniel Walker [this message]
2005-04-27 0:34 ` George Anzinger
2005-04-27 0:50 ` Daniel Walker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1114561842.12777.73.camel@dhcp153.mvista.com \
--to=dwalker@mvista.com \
--cc=ganzinger@mvista.com \
--cc=george@mvista.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®