On Mon, 2014-07-28 at 20:41 -0700, Jason Low wrote:
> On Mon, 2014-07-28 at 19:55 -0700, Davidlohr Bueso wrote:
> > +static bool mutex_optimistic_spin(struct mutex *lock,
> > + struct ww_acquire_ctx *ww_ctx, const bool
> > use_ww_ctx)
> > +{
> > + struct task_struct *
On Mon, 2014-07-28 at 19:55 -0700, Davidlohr Bueso wrote:
> +static bool mutex_optimistic_spin(struct mutex *lock,
> + struct ww_acquire_ctx *ww_ctx, const bool
> use_ww_ctx)
> +{
> + struct task_struct *task = current;
> +
> + if (!mutex_can_spin_on_owner(loc
2 matches
Mail list logo