Re: [PATCH] RT: Checks for cmpxchg in get_task_struct_rcu()

Daniel Walker
2005-09-22T02:19:07Z

On Thu, 2005-09-22 at 10:59 +1000, Nick Piggin wrote:

> You need my atomic_cmpxchg patches that provide an atomic_cmpxchg
> (and atomic_inc_not_zero) for all architectures.
>

It is racy, but why not just disable preemption ..

Daniel