PF_WQ_WORKER
if ((current->flags & PF_WQ_WORKER) && ret == GFP_KERNEL)
if (p->flags & PF_WQ_WORKER)
p->flags &= ~(PF_SUPERPRIV | PF_WQ_WORKER | PF_IDLE | PF_NO_SETAFFINITY);
if (donor->flags & PF_WQ_WORKER)
if (task_flags & PF_WQ_WORKER)
if (tsk->flags & (PF_WQ_WORKER | PF_IO_WORKER | PF_BLOCK_TS)) {
if (tsk->flags & PF_WQ_WORKER)
if (unlikely((prev->flags & PF_WQ_WORKER) &&
current->flags |= PF_WQ_WORKER;
current->flags &= ~PF_WQ_WORKER;
if (!(task->flags & PF_WQ_WORKER))
if (task->flags & PF_WQ_WORKER) {
if (in_task() && (current->flags & PF_WQ_WORKER))
if (current->flags & PF_WQ_WORKER)
if (current->flags & PF_WQ_WORKER)
if (!(current->flags & PF_WQ_WORKER)) {
current->flags &= ~PF_WQ_WORKER;
current->flags |= PF_WQ_WORKER;