Re: [Xen-devel] [PATCH v6 5/8] spinlock: Introduce spin_lock_cb()

2017-08-07 Thread Jan Beulich
>>> Boris Ostrovsky 08/04/17 7:03 PM >>> >While waiting for a lock we may want to periodically run some >code. This code may, for example, allow the caller to release >resources held by it that are no longer needed in the critical >section protected by the lock. > >Specifically, this feature will

[Xen-devel] [PATCH v6 5/8] spinlock: Introduce spin_lock_cb()

2017-08-04 Thread Boris Ostrovsky
While waiting for a lock we may want to periodically run some code. This code may, for example, allow the caller to release resources held by it that are no longer needed in the critical section protected by the lock. Specifically, this feature will be needed by scrubbing code where the scrubber,