On Fri, 2015-07-31 at 22:21 -0400, Waiman Long wrote: > /* > + * Try to acquire the lock and wait using the pending bit > + */ > +static int pv_pending_lock(struct qspinlock *lock, u32 val)
Sorry but, why did yo not rewrite the function as we had previously discussed. This is very confusing to read, the one I suggested follows a much nicer flow and purposely illustrates the intention. You also failed to address my loop semantics concerns altogether. Thanks, Davidlohr -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/