DEQUEUE_SAVE
if (!(flags & DEQUEUE_SAVE))
scoped_guard (sched_change, p, DEQUEUE_SAVE)
if (!(flags & DEQUEUE_SAVE) && rq->nr_running == 1 &&
dequeue_task(rq, owner, DEQUEUE_NOCLOCK | DEQUEUE_SAVE);
DEQUEUE_SAVE | DEQUEUE_MOVE | DEQUEUE_NOCLOCK;
scoped_guard (sched_change, p, DEQUEUE_SAVE)
unsigned int queue_flags = DEQUEUE_SAVE | DEQUEUE_MOVE;
sched_core_dequeue(rq, p, DEQUEUE_SAVE);
if (flags & (DEQUEUE_SAVE|DEQUEUE_MIGRATING)) {
scoped_guard (sched_change, p, DEQUEUE_SAVE | DEQUEUE_MOVE) {
unsigned int queue_flags = DEQUEUE_SAVE | DEQUEUE_MOVE | DEQUEUE_NOCLOCK;
unsigned int queue_flags = DEQUEUE_SAVE | DEQUEUE_MOVE;
if ((flags & (DEQUEUE_SAVE | DEQUEUE_MOVE)) == DEQUEUE_SAVE)
if (flags & DEQUEUE_SAVE)
int queue_flags = DEQUEUE_SAVE | DEQUEUE_MOVE | DEQUEUE_NOCLOCK;
scoped_guard (sched_change, p, DEQUEUE_SAVE) {