From: Daniel Walker <dwalker@mvista.com>
To: Ingo Molnar <mingo@elte.hu>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] RT: Checks for cmpxchg in get_task_struct_rcu()
Date: Mon, 26 Sep 2005 07:44:36 -0700 [thread overview]
Message-ID: <1127745877.28961.6.camel@c-67-188-6-232.hsd1.ca.comcast.net> (raw)
In-Reply-To: <20050926062552.GD3273@elte.hu>
On Mon, 2005-09-26 at 08:25 +0200, Ingo Molnar wrote:
> * Daniel Walker <dwalker@mvista.com> wrote:
>
> > Checks for cmpxchg in get_task_struct_rcu() . No race version.
>
> shouldnt we actually define a global, default cmpxchg() function, based
> on IRQ-disable - instead of open-coding one?
I was thinking it should be restructures so it just needs an atomic_inc
in this case. Considering that without cmpxchg() you must be on a UP
machine .
Daniel
next prev parent reply other threads:[~2005-09-26 14:44 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-21 23:37 [PATCH] RT: Checks for cmpxchg in get_task_struct_rcu() Daniel Walker
2005-09-22 0:59 ` Nick Piggin
2005-09-22 2:18 ` Daniel Walker
2005-09-22 3:27 ` Nick Piggin
2005-09-22 4:50 ` Daniel Walker
2005-09-22 5:05 ` Nick Piggin
2005-09-26 6:25 ` Ingo Molnar
2005-09-26 14:44 ` Daniel Walker [this message]
2005-09-26 6:26 ` Ingo Molnar
2005-09-26 6:39 ` Nick Piggin
2005-09-26 6:48 ` Ingo Molnar
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=1127745877.28961.6.camel@c-67-188-6-232.hsd1.ca.comcast.net \
--to=dwalker@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