• Jungseung Lee's avatar
    workqueue: Introduce show_freezable_workqueues · 704bc669
    Jungseung Lee authored
    Currently show_all_workqueue is called if freeze fails at the time of
    freeze the workqueues, which shows the status of all workqueues and of
    all worker pools. In this cases we may only need to dump state of only
    workqueues that are freezable and busy.
    
    This patch defines show_freezable_workqueues, which uses
    show_one_workqueue, a granular function that shows the state of individual
    workqueues, so that dump only the state of freezable workqueues
    at that time.
    
    tj: Minor message adjustment.
    Signed-off-by: default avatarJungseung Lee <js07.lee@samsung.com>
    Signed-off-by: default avatarTejun Heo <tj@kernel.org>
    704bc669
workqueue.c 176 KB