Re: [RFC][PATCH 07/18] sched: Drop the rq argument tosched_class::select_task_rq()

From: Peter Zijlstra
Date: Thu Jan 06 2011 - 09:23:44 EST


On Thu, 2011-01-06 at 14:57 +0100, Peter Zijlstra wrote:
> + curr = rcu_dereference(rq->curr); /* unlocked access */

Hrm, I got my barriers wrong again, I think we can go with ACCESS_ONCE()
here.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/