git: drm/linux: Rewrite the workqueue implementation

Francois Tigeot ftigeot at crater.dragonflybsd.org
Wed Nov 11 11:50:44 PST 2020


commit c17dd299cec907bb472a1f824300cad3290019b3
Author: François Tigeot <ftigeot at wolfpond.org>
Date:   Wed Nov 11 20:49:32 2020 +0100

    drm/linux: Rewrite the workqueue implementation
    
    Most workqueues now use one runner thread per logical CPU, except for
    WQ_UNBOUND ones, which only have a single kernel thread.
    
    This commit contains critical fixes from Matthew Dillon for multithread
    interaction issues in queue_work() and the cancel functions.

Summary of changes:
 sys/dev/drm/include/linux/workqueue.h | 215 +++++++------------
 sys/dev/drm/linux_workqueue.c         | 374 ++++++++++++++++++++++++++++++++--
 2 files changed, 425 insertions(+), 164 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c17dd299cec907bb472a1f824300cad3290019b3


-- 
DragonFly BSD source repository


More information about the Commits mailing list