On Thu, Jun 23, 2016 at 11:00:08AM -0700, Kees Cook wrote: > > Why does __mutex_lock_common() have "task" as a stack variable?
That's actually a fairly common thing to do. The reason is that 'current' is far more expensive to evaluate than a local variable.