Avoid double_rq_lock() and use TASK_ON_RQ_MIGRATING for
active_load_balance_cpu_stop(). The advantage is (obviously) not
holding two 'rq->lock's at the same time and thereby increasing
parallelism.
Further note that if there was no task to migrate we will not have
acquired the second rq->lock at
Avoid double_rq_lock() and use TASK_ON_RQ_MIGRATING for
active_load_balance_cpu_stop(). The advantage is (obviously) not
holding two 'rq-lock's at the same time and thereby increasing
parallelism.
Further note that if there was no task to migrate we will not have
acquired the second rq-lock at
2 matches
Mail list logo