Re: [patch] Real-Time Preemption, -RT-2.6.12-rc1-V0.7.41-01

Ingo Molnar
2005-03-22T08:51:00Z

* Paul E. McKenney <paulmck@us.ibm.com> wrote:

> return;
> }
> rdp->donelist = NULL;
> - rdp->donetail = &rdp->waitlist;
> + rdp->donetail = &rdp->donelist;
> put_cpu_var(rcu_data);
> while (list) {
> next = list->next;

seems like the RCU code should use list.h primitives, to avoid bugs like
this and to make the code more readable.

Ingo