• Linus Torvalds's avatar
    Merge branch 'for-4.18' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq · af6c5d5e
    Linus Torvalds authored
    Pull workqueue updates from Tejun Heo:
    
     - make kworkers report the workqueue it is executing or has executed
       most recently in /proc/PID/comm (so they show up in ps/top)
    
     - CONFIG_SMP shuffle to move stuff which isn't necessary for UP builds
       inside CONFIG_SMP.
    
    * 'for-4.18' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq:
      workqueue: move function definitions within CONFIG_SMP block
      workqueue: Make sure struct worker is accessible for wq_worker_comm()
      workqueue: Show the latest workqueue name in /proc/PID/{comm,stat,status}
      proc: Consolidate task->comm formatting into proc_task_name()
      workqueue: Set worker->desc to workqueue name by default
      workqueue: Make worker_attach/detach_pool() update worker->pool
      workqueue: Replace pool->attach_mutex with global wq_pool_attach_mutex
    af6c5d5e
array.c 20.8 KB