• Andrew Morton's avatar
    [PATCH] workqueue.c subtle fix and core extraction · 34c37b86
    Andrew Morton authored
    From: Rusty Russell <rusty@rustcorp.com.au>
    
    A barrier is needed on workqueue shutdown: there's a chance that the thead
    could see the wq->thread set to NULL before the completion is initialized.
    
    Also extracts functions which actually create and destroy workqueues, for
    use by hotplug CPU patch.
    34c37b86
workqueue.c 9.17 KB