Re: [RFC PATCH 6/7] locking/rtqspinlock: Voluntarily yield CPU when need_sched()

From: Daniel Bristot de Oliveira
Date: Thu Jan 05 2017 - 05:17:57 EST


On 01/03/2017 07:00 PM, Waiman Long wrote:
> For nested spinlock with outer lock acquired, it will
> + * boost its priority to the highest RT priority level to try to acquire the
> + * inner lock, finish up its work, release the locks and reenable preemption.

DL scheduler turns the definition of "highest RT priority" more
complicated. One may try to move a task to the DL class with a very
closer deadline, but a DL task can always be rejected by the admission
test....

-- Daniel