• Lai Jiangshan's avatar
    workqueue: rename wq_mutex to wq_pool_mutex · 68e13a67
    Lai Jiangshan authored
    wq->flush_mutex will be renamed to wq->mutex and cover all fields
    specific to each workqueue and eventually replace pwq_lock, which will
    make locking simpler and easier to understand.
    
    Rename wq_mutex to wq_pool_mutex to avoid confusion with wq->mutex.
    After the scheduled changes, wq_pool_mutex won't be protecting
    anything specific to each workqueue instance anyway.
    
    This patch is pure rename.
    
    tj: s/wqs_mutex/wq_pool_mutex/.  Rewrote description.
    Signed-off-by: default avatarTejun Heo <tj@kernel.org>
    Cc: Lai Jiangshan <laijs@cn.fujitsu.com>
    68e13a67
workqueue.c 123 KB