• T
    proc: Consolidate task->comm formatting into proc_task_name() · 88b72b31
    Tejun Heo 提交于
    proc shows task->comm in three places - comm, stat, status - and each
    is fetching and formatting task->comm slighly differently.  This patch
    renames task_name() to proc_task_name(), makes it more generic, and
    updates all three paths to use it.
    
    This will enable expanding comm reporting for workqueue workers.
    Signed-off-by: NTejun Heo <tj@kernel.org>
    88b72b31
base.c 85.7 KB