Re: [PATCH V2] task_work: avoid unneeded cmpxchg() in task_work_run()
From
Peter Zijlstra <>
Date
Wed, 10 Oct 2012 19:50:58 +0200
On Wed, 2012-10-10 at 19:50 +0200, Oleg Nesterov wrote: > > But you did not answer, and I am curious. What was your original > motivation? Is xchg really faster than cmpxchg?
And is this true over multiple architectures? Or are we optimizing for x86_64 (again) ?