From: Manfred Spraul <manfred@colorfullife.com>
To: Ingo Molnar <mingo@elte.hu>
Cc: linux-kernel@vger.kernel.org, Linus Torvalds <torvalds@osdl.org>
Subject: Re: [patch] SMP races in the timer code, timer-fix-2.6.0-test7-A0
Date: Sat, 11 Oct 2003 18:17:09 +0200 [thread overview]
Message-ID: <3F882D05.2050908@colorfullife.com> (raw)
In-Reply-To: <Pine.LNX.4.56.0310111807590.10679@earth>
Ingo Molnar wrote:
>On Sat, 11 Oct 2003, Ingo Molnar wrote:
>
>
>
>>since this would be the 8th word-sized field in struct timer_list,
>>making it a nice round structure size.
>>
>>
>
>it's the 9th field in fact, due to timer->magic.
>
>
I found one problem: the same timer can run on multiple cpus at the same time.
timer on cpu 0. running on cpu 0.
add_timer on cpu 1. expires immediately. running on cpu 1.
Your mail arrived out of order - thus I don't know yet if the 9th field
is a counter or a flag - a counter might work, but is quite ugly.
--
Manfred
next prev parent reply other threads:[~2003-10-11 16:55 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-11 15:01 [patch] SMP races in the timer code, timer-fix-2.6.0-test7-A0 Manfred Spraul
2003-10-11 15:49 ` Ingo Molnar
2003-10-11 16:08 ` Ingo Molnar
2003-10-11 16:17 ` Manfred Spraul [this message]
2003-10-13 10:12 ` Andrew Morton
2003-10-11 16:40 ` Ingo Molnar
2003-10-14 4:24 ` Linus Torvalds
2003-10-14 11:43 ` Ingo Molnar
-- strict thread matches above, loose matches on Subject: below --
2003-10-11 8:55 Ingo Molnar
2003-10-16 17:17 ` Andrea Arcangeli
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=3F882D05.2050908@colorfullife.com \
--to=manfred@colorfullife.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=torvalds@osdl.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.