>>> On 19.05.17 at 17:50, <boris.ostrov...@oracle.com> wrote:
> @@ -140,6 +140,8 @@ void _spin_lock(spinlock_t *lock)
>      while ( tickets.tail != observe_head(&lock->tickets) )
>      {
>          LOCK_PROFILE_BLOCK;
> +        if ( unlikely(cb) )
> +            cb(data);

The description says "periodically", which to me implies every once
in a while, not on every iteration. Not a big problem, bit I wanted to
mention it anyway.

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

Reply via email to